Skip to content

Commit

Permalink
CI: rebuild deps cache from the main branch nightly (#532)
Browse files Browse the repository at this point in the history
Caches generated from other branches are not cross-accessible, so it has to be done from the main branch

Signed-off-by: Evgeny Malygin <[email protected]>
  • Loading branch information
678098 authored Nov 26, 2024
1 parent 9b7f26f commit 67abd63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
cache_key:
description: "GH Actions Cache key associated with the built dependencies"
value: ${{ jobs.build_dependencies.outputs.cache_key }}
schedule:
# Rebuild dependencies cache from the "main" branch at the beginning of a new day,
# so it is accessible from other branches' PRs
- cron: "10 0 * * *"

concurrency:
group: deps-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down

0 comments on commit 67abd63

Please sign in to comment.