Fix config checker release (#70) #3
Workflow file for this run
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: Release config checker | |
on: | |
push: | |
tags: | |
- '*' | |
permissions: | |
contents: write | |
jobs: | |
release_config_checker: | |
name: Release config checker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
runtime/target/ | |
key: ${{ runner.os }}-cargo-configchecker-${{ hashFiles('**/Cargo.lock') }} | |
- name: Build config checker | |
run: cd runtime && cargo build --bin=config_check --release | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
files: runtime/target/release/config_check |