From e208d68142993c6d0a32e189601460bb166a92da Mon Sep 17 00:00:00 2001 From: ComplexPlane <46565903+ComplexPlane@users.noreply.github.com> Date: Sun, 19 Nov 2023 21:21:25 -0500 Subject: [PATCH] Use github.ref_type (#3) --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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