Update jitpack.yml

This commit is contained in:
Cloudburst 2022-08-28 19:59:36 +02:00 committed by GitHub
parent 65d723a2f3
commit 61627b12c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,14 +8,4 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Add SHORT_SHA env property with commit short sha - uses: js6pak/start-jitpack@master
run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-10`" >> $GITHUB_ENV
- name: Fetch build.log
run: |
wget "https://jitpack.io/com/github/recloudstream/gradle/${GITHUB_REF##*/}-${SHORT_SHA}-1/build.log" -T 300
cat build.log
- name: Check status
run: |
if grep -q "FAILURE: Build failed with an exception." build.log; then
echo "::error::Jitpack build failed with an exception." && exit 1
fi