mirror of
https://github.com/warpdotdev/warp.git
synced 2026-06-03 08:50:00 +08:00
27 lines
724 B
YAML
27 lines
724 B
YAML
on:
|
|
push:
|
|
branches:
|
|
# Potentially run this workflow whenever the master branch changes in,
|
|
# order to update the cache if necessary.
|
|
- master
|
|
paths:
|
|
# We only need to run this if there were changes to files that affect
|
|
# the cache key.
|
|
- 'Cargo.lock'
|
|
- '**/Cargo.toml'
|
|
- '.cargo/config.toml'
|
|
- 'rust-toolchain.toml'
|
|
# Run once per day to ensure the cache is populated even if we haven't
|
|
# modified Cargo.lock or Cargo.toml in a while.
|
|
schedule:
|
|
- cron: "0 8 * * 1-5" # Run every weekday at 3am EST.
|
|
workflow_dispatch:
|
|
|
|
name: Populate Build Cache
|
|
|
|
jobs:
|
|
populate_build_cache:
|
|
name: CI
|
|
uses: ./.github/workflows/ci.yml
|
|
secrets: inherit
|