diff --git a/.github/workflows/jitpack.yml b/.github/workflows/jitpack.yml index 9338e4b..3b4f555 100644 --- a/.github/workflows/jitpack.yml +++ b/.github/workflows/jitpack.yml @@ -8,7 +8,9 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Add SHORT_SHA env property with commit short sha + 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##*/}-SNAPSHOT/build.log" -T 300 + wget "https://jitpack.io/com/github/recloudstream/gradle/${GITHUB_REF##*/}-${SHORT_SHA}-1/build.log" -T 300 cat build.log