nightly #544
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: 'nightly' | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
nightly-release: | |
name: Build Nightly Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Dependencies | |
run: sudo apt-get update && sudo apt-get install libusb-1.0-0-dev libftdi1-dev libudev-dev | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- uses: Swatinem/rust-cache@v1 | |
- name: Install cargo-readme | |
uses: baptiste0928/cargo-install@v1 | |
with: | |
crate: cargo-readme | |
- uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
args: --release | |
- name: Upload Release | |
run: gh release upload --repo oxidecomputer/humility nightly --clobber target/release/humility | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |