Skip to content

Commit

Permalink
Fix release action (#2)
Browse files Browse the repository at this point in the history
* Better release naming

* Only rename artifact for release

* Use GITUHB_REF_NAME

* Ok yet again only rename on tag
  • Loading branch information
ComplexPlane committed Nov 19, 2023
1 parent 773cb77 commit 7b3e08b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ jobs:
- uses: actions/upload-artifact@v3
with:
path: dist/*.zip
name: Ghidra-SuperMonkeyBallTools
name: SuperMonkeyBallTools
- name: Rename Release Asset
if: startsWith(github.ref, 'refs/tags/')
run: mv dist/*.zip dist/SuperMonkeyBallTools-${GITHUB_REF_NAME}-${GHIDRA_INSTALL_NAME}.zip
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 7b3e08b

Please sign in to comment.