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