-
-
Notifications
You must be signed in to change notification settings - Fork 37
36 lines (29 loc) · 818 Bytes
/
release.yml
File metadata and controls
36 lines (29 loc) · 818 Bytes
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
name: release
permissions:
pull-requests: write
contents: write
pages: write
id-token: write
on:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: 0
jobs:
release-rust-crates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# Needed to clone all the git history, which is necessary to determine
# the next version and build the changelog.
fetch-depth: 0
- uses: actions-rust-lang/setup-rust-toolchain@v1
- uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
deploy-website:
needs: release-rust-crates
uses: ./.github/workflows/deploy-website.yml