Updater #3530
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Updater | |
on: | |
schedule: | |
- cron: "0 */12 * * *" | |
jobs: | |
github: | |
name: GitHub | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Rust (stable) | |
run: | | |
rustup update stable | |
rustup component add rustfmt | |
rustup component add clippy | |
- name: Build the updater | |
run: cargo build --release | |
- name: Run the updater | |
run: ./ci-update.sh | |
env: | |
HIGHFIVE_GH_TOKEN: "${{ secrets.HIGHFIVE_GH_TOKEN }}" | |
DEPLOY_KEY: "${{ secrets.DEPLOY_KEY }}" | |
RUST_REPOS_TIMEOUT: 3600 # 1 hour |