ci/cache: Keep collection in preflight
Group cache collection separately in the Actions log and avoid repeating it after updating the CI profile.
This commit is contained in:
@@ -37,9 +37,9 @@ jobs:
|
||||
env:
|
||||
HARMONIA_SSH_KEY: ${{ secrets.HARMONIA_SSH_KEY }}
|
||||
run: |
|
||||
# Make room before pushing so a full cache cannot prevent the GC at
|
||||
# the end of a successful run from ever being reached.
|
||||
echo "::group::Collect cache garbage"
|
||||
ci/push-to-cache.sh --gc
|
||||
echo "::endgroup::"
|
||||
|
||||
nix eval --json --apply "builtins.attrNames" .#ci.x86_64-linux | jq -cr '.[]' | while read job; do
|
||||
echo "::group::Build $job"
|
||||
|
||||
Reference in New Issue
Block a user