gitlab-ci: Fix MacPorts cache never being pulled on non-master branches
This is the same logic of our Flatpak deps script. But, for now, it will only work on gimp project, not on forks.
This commit is contained in:
parent
ed108d9941
commit
ba227a6cec
1 changed files with 2 additions and 0 deletions
|
|
@ -688,6 +688,7 @@ deps-macos-inhouse-part1:
|
|||
stage: dependencies
|
||||
cache:
|
||||
- key: $CI_PROJECT_NAMESPACE
|
||||
unprotect: true
|
||||
paths:
|
||||
- macports-cached
|
||||
policy: pull
|
||||
|
|
@ -721,6 +722,7 @@ deps-macos-inhouse:
|
|||
stage: dependencies
|
||||
cache:
|
||||
- key: $CI_PROJECT_NAMESPACE
|
||||
unprotect: true
|
||||
paths:
|
||||
- macports-cached
|
||||
policy: push
|
||||
|
|
|
|||
Loading…
Reference in a new issue