File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release-plz
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ # Release unpublished packages.
10+ release-plz-release :
11+ name : Release-plz release
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : write
15+ pull-requests : read
16+ steps :
17+ - &checkout
18+ name : Checkout repository
19+ uses : actions/checkout@v6
20+ with :
21+ fetch-depth : 0
22+ persist-credentials : false
23+ - &install-rust
24+ name : Install Rust toolchain
25+ uses : dtolnay/rust-toolchain@stable
26+ - name : Run release-plz
27+ uses : release-plz/action@v0.5
28+ with :
29+ command : release
30+ env :
31+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
33+
34+ # Create a PR with the new versions and changelog, preparing the next release.
35+ release-plz-pr :
36+ name : Release-plz PR
37+ runs-on : ubuntu-latest
38+ permissions :
39+ contents : write
40+ pull-requests : write
41+ concurrency :
42+ group : release-plz-${{ github.ref }}
43+ cancel-in-progress : false
44+ steps :
45+ - *checkout
46+ - *install-rust
47+ - name : Run release-plz
48+ uses : release-plz/action@v0.5
49+ with :
50+ command : release-pr
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments