Merge pull request #49 from nicholasbishop/bishop-book-split-4 #26
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
# This workflow runs when commits are pushed to main or a branch starting with | |
# "version-". It checks if any packages require a new release, and if so, | |
# creates the corresponding crates.io releases and git tags. | |
name: Release | |
on: | |
push: | |
branches: | |
- main | |
- version-* | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
cargo install auto-release | |
auto-release --condition body -p uefi-raw -p uefi-macros -p uefi | |
env: | |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |