mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
Update jitpack.yml
This commit is contained in:
parent
65d723a2f3
commit
61627b12c7
1 changed files with 1 additions and 11 deletions
12
.github/workflows/jitpack.yml
vendored
12
.github/workflows/jitpack.yml
vendored
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue