Skip to content

Commit

Permalink
fix: *not* merge group
Browse files Browse the repository at this point in the history
This bug caused the cache to never be restored.
  • Loading branch information
BD103 committed Apr 20, 2024
1 parent 427046b commit f9d6a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ runs:
# ...or restore an existing cache.
- name: Restore cache
# We do not use the cache when in the merge queue.
if: ${{ inputs.action == 'restore' && github.event_name == 'merge_group' }}
if: ${{ inputs.action == 'restore' && github.event_name != 'merge_group' }}
uses: actions/cache/restore@v4
with:
path: |
Expand Down

0 comments on commit f9d6a94

Please sign in to comment.