File tree Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Expand file tree Collapse file tree 1 file changed +19
-10
lines changed Original file line number Diff line number Diff line change 1
- name : Release
1
+ name : Release-plz
2
+
3
+ permissions :
4
+ pull-requests : write
5
+ contents : write
2
6
3
7
on :
4
- workflow_dispatch :
5
8
push :
6
- tags :
7
- - ' * '
9
+ branches :
10
+ - main
8
11
9
12
jobs :
10
- publish :
11
- runs-on : ubuntu-latest
13
+ release-plz :
14
+ name : Release-plz
15
+ runs-on : ubuntu-24.04
12
16
steps :
13
- - uses : actions/checkout@v4
14
- - name : Publish to crates.io
15
- run : |
16
- 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
+
17
25
env :
26
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
27
CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments