Skip to content

Commit

Permalink
Use github.ref_type (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ComplexPlane committed Nov 20, 2023
1 parent 7b3e08b commit e208d68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ jobs:
path: dist/*.zip
name: SuperMonkeyBallTools
- name: Rename Release Asset
if: startsWith(github.ref, 'refs/tags/')
if: github.ref_type == 'tag'
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/')
if: github.ref_type == 'tag'
with:
files: ./dist/*.zip
draft: true

0 comments on commit e208d68

Please sign in to comment.