Skip to content

Commit

Permalink
Fix JARs download
Browse files Browse the repository at this point in the history
  • Loading branch information
4ernovm committed Feb 22, 2024
1 parent 9ec5ee0 commit 85fae1d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/soot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,7 @@ jobs:
# if: steps.calc-checksum.outputs.hash == steps.calc-checksum.outputs.prev_hash
run: |
TAG=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r '.tag_name')
gh api repos/${{ github.repository }}/releases/tags/${TAG} | jq '.assets[] | .name'
gh api repos/${{ github.repository }}/releases/soot-wrapper-${{ matrix.java-version }}.jar \
--raw \
-H 'Accept: application/octet-stream' \
-o soot-wrapper-${{ matrix.java-version }}.jar
curl -LJO https://github.com/${{ github.repository }}/releases/download/${TAG}/soot-wrapper-${{ matrix.java-version }}.jar
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 85fae1d

Please sign in to comment.