-
Notifications
You must be signed in to change notification settings - Fork 370
39 lines (35 loc) · 953 Bytes
/
release-plz.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: release-plz
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- main
- release-plz
concurrency:
group: release-plz
jobs:
release-plz:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
- uses: kenji-miyake/setup-git-cliff@v1
- uses: Swatinem/rust-cache@v2
with:
shared-key: unit
save-if: false
- run: mkdir -p $HOME/bin && echo "$HOME/bin" >> "$GITHUB_PATH"
- run: |
cargo build
cp target/debug/mise $HOME/bin
mise trust --all
mise settings set experimental true
- run: mise run pre-release
- uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}