Skip to content

Commit

Permalink
Use github.ref_name instead of bash variable manipulation
Browse files Browse the repository at this point in the history
Signed-off-by: Taylor Smock <[email protected]>
  • Loading branch information
tsmock committed Jul 9, 2024
1 parent 3b625c1 commit 844fc56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ant-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
needs: call-workflow
steps:
- name: Get Mapillary jar
run: gh release download ${GITHUB_REF##*/} --pattern Mapillary.jar
run: gh release download ${{ github.ref_name }} --pattern Mapillary.jar
- name: Add keys
run: |
cat <<EOF > mapillary_api_keys.json
Expand All @@ -27,4 +27,4 @@ jobs:
EOF
zip Mapillary.jar mapillary_api_keys.json
- name: Upload Mapillary jar
run: gh release upload ${GITHUB_REF##*/} --clobber Mapillary.jar
run: gh release upload ${{ github.ref_name }} --clobber Mapillary.jar

0 comments on commit 844fc56

Please sign in to comment.