Skip to content

Commit

Permalink
Only run "Save Prefix" step when a cache miss happens
Browse files Browse the repository at this point in the history
Prevents a warning from popping up on the dashboard
  • Loading branch information
redstrate committed May 18, 2024
1 parent 35e9098 commit c8fb0c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ jobs:
- name: Save Prefix
id: cache-prefix-save
uses: actions/cache/save@v4
if: steps.cache-prefix-restore.outputs.cache-hit != 'true'
with:
path: ${{ steps.strings.outputs.prefix-dir }}
key: ${{ steps.cache-prefix-restore.outputs.cache-primary-key }}
Expand Down

0 comments on commit c8fb0c3

Please sign in to comment.