We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0a5d89 commit 7ea46ebCopy full SHA for 7ea46eb
1 file changed
.github/workflows/release.yml
@@ -1,18 +1,27 @@
1
-name: Release
+name: Release-plz
2
+
3
+permissions:
4
+ pull-requests: write
5
+ contents: write
6
7
on:
- workflow_dispatch:
8
push:
- tags:
- - '*'
9
+ branches:
10
+ - main
11
12
jobs:
- publish:
- runs-on: ubuntu-latest
13
+ release-plz:
14
+ name: Release-plz
15
+ runs-on: ubuntu-24.04
16
steps:
- - uses: actions/checkout@v4
- - name: Publish to crates.io
- run: |
- cargo publish
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
+ - name: Install Rust (rustup)
22
+ run: rustup update nightly --no-self-update && rustup default nightly
23
+ - name: Run release-plz
24
+ uses: MarcoIeni/release-plz-action@v0.5
25
env:
26
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
0 commit comments