Skip to content

Commit 1075872

Browse files
nicholasbishopphip1611
authored andcommitted
Add release workflow
Use https://crates.io/crates/auto-release to release to crates.io and create a git tag when a release PR is merged.
1 parent 39a72ff commit 1075872

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
name: Release
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- run: cargo install auto-release
17+
- run: auto-release --condition subject -p ovmf-prebuilt
18+
env:
19+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)