Skip to content

Commit

Permalink
Ok yet again only rename on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ComplexPlane committed Nov 19, 2023
1 parent 3112985 commit 0460cbe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Run Gradle
run: |
./gradlew
mv dist/*.zip dist/SuperMonkeyBallTools-${GITHUB_REF_NAME}-${GHIDRA_INSTALL_NAME}.zip
run: ./gradlew
env:
GHIDRA_INSTALL_DIR: ${{ runner.temp }}/${{ env.GHIDRA_INSTALL_NAME }}
- uses: actions/upload-artifact@v3
with:
path: dist/*.zip
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 0460cbe

Please sign in to comment.