ci: align Rust cache comments with master-only access
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
a41b759f47
commit
5b0417c88c
|
|
@ -247,8 +247,8 @@ jobs:
|
|||
# dependencies; never restore installed executables from cargo/bin.
|
||||
cache-workspace-crates: false
|
||||
cache-bin: false
|
||||
# Manual candidate refs may read the cache, but only a successful
|
||||
# master push verifying its own commit can populate the shared cache.
|
||||
# The step guard also restricts restores. Save only after a successful
|
||||
# master-push verification of that push's exact commit.
|
||||
save-if: ${{ github.repository == 'paperclipai/paperclip' && github.event_name == 'push' && github.ref == 'refs/heads/master' && inputs.ref == github.sha }}
|
||||
|
||||
- name: Install dependencies
|
||||
|
|
|
|||
Loading…
Reference in New Issue