File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Release-plz
22
3- permissions :
4- pull-requests : write
5- contents : write
6-
73on :
84 push :
95 branches :
106 - main
117
128jobs :
13- release-plz :
14- name : Release-plz
9+
10+ # Release unpublished packages.
11+ release-plz-release :
12+ name : Release-plz release
1513 runs-on : ubuntu-latest
14+ permissions :
15+ contents : write
16+ pull-requests : read
1617 steps :
17- - name : Checkout repository
18+ - &checkout
19+ name : Checkout repository
1820 uses : actions/checkout@v6
1921 with :
2022 fetch-depth : 0
21-
22- - name : Install Rust toolchain
23+ persist-credentials : false
24+ - &install-rust
25+ name : Install Rust toolchain
2326 uses : dtolnay/rust-toolchain@stable
27+ - name : Run release-plz
28+ uses : release-plz/action@v0.5
29+ with :
30+ command : release
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
2434
35+ # Create a PR with the new versions and changelog, preparing the next release.
36+ release-plz-pr :
37+ name : Release-plz PR
38+ runs-on : ubuntu-latest
39+ permissions :
40+ contents : write
41+ pull-requests : write
42+ concurrency :
43+ group : release-plz-${{ github.ref }}
44+ cancel-in-progress : false
45+ steps :
46+ - *checkout
47+ - *install-rust
2548 - name : Run release-plz
2649 uses : release-plz/action@v0.5
2750 with :
28- manifest_path : Cargo.toml
51+ command : release-pr
2952 env :
3053 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31- CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
54+ # CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments