diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 56e90b2..9e6e7ba 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file