Skip to content

Commit

Permalink
add release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Nov 25, 2024
1 parent f0007c4 commit b4bf415
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '**/*.yml'
- '!.github/workflows/release.yml'

jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: Boshen/setup-rust@main

- uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit b4bf415

Please # to comment.