Skip to content

Commit

Permalink
Tweak GitHub Actions workflow so Ghidra recognizes artifact files as …
Browse files Browse the repository at this point in the history
…plugins
  • Loading branch information
kylewlacy committed Mar 11, 2024
1 parent 3644c17 commit 51e8579
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ jobs:
- name: Prepare artifact
id: prepare
run: |
(cd GhidraNes/dist && unzip *.zip)
mkdir -p GhidraNes/dist/artifact/GhidraNes
(cd GhidraNes/dist/artifact/GhidraNes && unzip ../../*.zip)
echo "short_sha=$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
echo "date=$(date -u +'%Y%m%d')" >> "$GITHUB_OUTPUT"
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ghidra_${{ matrix.ghidra }}_${{ steps.prepare.outputs.short_sha }}_${{ steps.prepare.outputs.date }}_GhidraNes
path: GhidraNes/dist/GhidraNes
path: GhidraNes/dist/artifact

0 comments on commit 51e8579

Please sign in to comment.