mirror of
https://github.com/rust-osdev/uefi-rs
synced 2026-06-08 17:17:36 +00:00
22 lines
613 B
YAML
22 lines
613 B
YAML
# 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@v6
|
|
- 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 }}
|