Skip to content

Commit

Permalink
Cache dist pre action run
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed Sep 12, 2024
1 parent f01002b commit 337d841
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ jobs:
cache-name: cache-dist
with:
path: dist
key: ${{ env.cache-name }}-${{ hashFiles('dist/plugins.json') }}
key: ${{ env.cache-name }}-${{ runner.os }}-${{ github.run_id }}
restore-keys: |
${{ env.cache-name }}-${{ runner.os }}
${{ env.cache-name }}
- name: Build
env:
Expand Down

0 comments on commit 337d841

Please sign in to comment.