Fix: Fix glob pattern in tools/pacs.py
#5
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 Automation | |
on: | |
push: | |
branches: | |
- development | |
jobs: | |
release-plz: | |
name: Release Please | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.PAC_RELEASE_PAT }} | |
- name: Install the Rust toolchain | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: 1.63.0 # TODO: make MSRV an CI environment variable | |
targets: thumbv7em-none-eabihf | |
- name: Proper PAC crates generation | |
run: | | |
python3 tools/pacs.py ./svd | |
- name: Fire up `release-plz` | |
uses: MarcoIeni/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.PAC_RELEASE_PAT }} | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |