From aaaca7bb6127c5e010251825e0928e713dcb8cd8 Mon Sep 17 00:00:00 2001 From: Kyle Lacy Date: Sun, 10 Mar 2024 18:06:37 -0700 Subject: [PATCH 1/2] Tweak GitHub Actions workflow to avoid nested ZIP --- .github/workflows/build.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0821624..88a88e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,8 +37,15 @@ jobs: - name: Build the extension for Ghidra ${{ matrix.ghidra }} run: gradle -PGHIDRA_INSTALL_DIR=${{ env.GHIDRA_INSTALL_DIR }} -p GhidraNes - - name: Upload artifacts + - name: Prepare artifact + id: prepare + run: | + (cd GhidraNes/dist && 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: GhidraNes_Ghidra_${{ matrix.ghidra }} - path: GhidraNes/dist/*.zip + name: ghidra_${{ matrix.ghidra }}_${{ steps.prepare.outputs.short_sha }}_${{ steps.prepare.outputs.date }}_GhidraNes + path: GhidraNes/dist/GhidraNes From 3644c175f8cfa14720fcfe8f9e95d543f31b1de4 Mon Sep 17 00:00:00 2001 From: Kyle Lacy Date: Sun, 10 Mar 2024 18:26:10 -0700 Subject: [PATCH 2/2] Update GH Actions workflow to build for Ghidra 11.0.1 --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 88a88e2..350eebb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,6 +8,7 @@ jobs: strategy: matrix: ghidra: + - "11.0.1" - "11.0" - "10.4" - "10.3.3"