Skip to content

Commit 326f350

Browse files
github: Add release workflow
1 parent fc0d6a2 commit 326f350

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This workflow runs when commits are pushed to main or a branch starting with
2+
# "version-". It checks if any packages require a new release, and if so,
3+
# creates the crates.io release and git tag.
4+
name: Release
5+
on:
6+
push:
7+
branches:
8+
- main
9+
- version-*
10+
jobs:
11+
release:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: Swatinem/rust-cache@v2
16+
- run: cargo xtask auto-release

0 commit comments

Comments
 (0)