Skip to content

Commit

Permalink
Save Ghidra cache immediately after passing
Browse files Browse the repository at this point in the history
  • Loading branch information
garyttierney committed Apr 18, 2024
1 parent 97c42e1 commit 1c6e8e2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ jobs:
echo "ghidra-ref=$GHIDRA_REF" >> $GITHUB_OUTPUT
working-directory: ghidra

- name: Cache Ghidra Distribution
- name: Restore Ghidra Distribution cache
id: cache-ghidra
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: ghidra/build
key: "${{ runner.os }}-ghidra-${{ steps.ghidra-properties.outputs.ghidra-ref }}"
Expand All @@ -60,6 +60,12 @@ jobs:
gradle assembleAll -x sleighCompile -x ip
working-directory: ghidra

- name: Save Ghidra Distribution cache
uses: actions/cache/save@v4
with:
path: ghidra/build
key: ${{ steps.cache-ghidra.outputs.cache-primary-key }}

# Build plugin
- name: Build plugin
env:
Expand Down

0 comments on commit 1c6e8e2

Please sign in to comment.