Skip to content

Commit

Permalink
Add comment to explain master cache copy on cache miss
Browse files Browse the repository at this point in the history
  • Loading branch information
chippmann committed Oct 10, 2024
1 parent 68c4a30 commit 8527062
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/cache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ runs:
path: ${{ inputs.path }}

- name: Use master cache if specific cache was missed
# if we got no cache hit, this means we do not yet have a cache for this git ref
# hence we restore the cache from master with readonly S3 credentials
# this basically allows us to reuse the cache from master, do our compilation and "copy" that to the git ref
# specific cache and because the credentials are read only, we do not override the master cache in the end
if: steps.cache_setup.outputs.cache-hit != 'true'
uses: philiplehmann/[email protected]
with:
Expand Down

0 comments on commit 8527062

Please sign in to comment.