Skip to content

Commit 554eb14

Browse files
Merge pull request #999 from nicholasbishop/bishop-auto-release-2
Release via Github Actions workflow
2 parents bb648c9 + 0d1d4d6 commit 554eb14

File tree

9 files changed

+475
-41
lines changed

9 files changed

+475
-41
lines changed

.github/workflows/release.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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 corresponding crates.io releases and git tags.
4+
name: Release
5+
on:
6+
push:
7+
branches:
8+
- main
9+
- version-*
10+
permissions:
11+
contents: write
12+
jobs:
13+
release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: Swatinem/rust-cache@v2
18+
- run: cargo xtask auto-release
19+
env:
20+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Cargo.lock

Lines changed: 194 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)