Skip to content

Commit

Permalink
ci: fix artifact naming
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovazquezblanco authored and Gekkio committed Jun 9, 2024
1 parent 8e570e2 commit 3468d4f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- run: ./gradlew build -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }}
- uses: actions/upload-artifact@v4
with:
name: distribution
name: GhidraBoy_Ghidra_${{ matrix.ghidra }}
path: build/distributions/*_GhidraBoy.zip
if-no-files-found: 'error'
release:
Expand All @@ -41,11 +41,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: distribution
- name: Create release and upload distribution
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create --verify-tag --generate-notes --draft "${{ github.ref_name }}"
gh release upload "${{ github.ref_name }}" *_GhidraBoy.zip
gh release upload "${{ github.ref_name }}" GhidraBoy_Ghidra_*/*.zip

0 comments on commit 3468d4f

Please sign in to comment.