Skip to content

Commit

Permalink
github: Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasbishop committed Nov 12, 2023
1 parent 7321644 commit 2852f4d
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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 crates.io release and git tag.
name: Release
on:
push:
branches:
- main
- version-*
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- run: cargo xtask auto-release
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 2852f4d

Please sign in to comment.