Commit a030200 1 parent b17c2be commit a030200 Copy full SHA for a030200
File tree 1 file changed +60
-0
lines changed
1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ permissions :
4
+ pull-requests : write
5
+ contents : write
6
+
7
+ on :
8
+ push :
9
+ branches :
10
+ - main
11
+ paths-ignore :
12
+ - ' **/*.md'
13
+ - ' **/*.yml'
14
+ - ' !.github/workflows/release.yml'
15
+
16
+ jobs :
17
+ release-plz-release :
18
+ name : Release-plz release
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v4
23
+ with :
24
+ fetch-depth : 0
25
+ token : ${{ secrets.RELEASE_PLZ_TOKEN }}
26
+
27
+ - name : Install Rust toolchain
28
+ uses : dtolnay/rust-toolchain@stable
29
+
30
+ - name : Run release-plz
31
+ uses :
release-plz/[email protected]
32
+ with :
33
+ command : release
34
+ env :
35
+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
36
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
37
+
38
+ release-plz-pr :
39
+ name : Release-plz PR
40
+ runs-on : ubuntu-latest
41
+ concurrency :
42
+ group : release-plz-${{ github.ref }}
43
+ cancel-in-progress : false
44
+ steps :
45
+ - name : Checkout
46
+ uses : actions/checkout@v4
47
+ with :
48
+ fetch-depth : 0
49
+ token : ${{ secrets.RELEASE_PLZ_TOKEN }}
50
+
51
+ - name : Install Rust toolchain
52
+ uses : dtolnay/rust-toolchain@stable
53
+
54
+ - name : Run release-plz
55
+ uses :
release-plz/[email protected]
56
+ with :
57
+ command : release-pr
58
+ env :
59
+ GITHUB_TOKEN : ${{ secrets.RELEASE_PLZ_TOKEN }}
60
+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments