diff --git a/.github/workflows/jitpack.yml b/.github/workflows/jitpack.yml index 25a2829..a94b563 100644 --- a/.github/workflows/jitpack.yml +++ b/.github/workflows/jitpack.yml @@ -8,14 +8,4 @@ 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##*/}-${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 \ No newline at end of file + - uses: js6pak/start-jitpack@master