Skip to content

Commit 003e838

Browse files
authored
feat: add workflow for release-plz (#200)
1 parent 8d317e3 commit 003e838

File tree

2 files changed

+28
-25
lines changed

2 files changed

+28
-25
lines changed

.github/workflows/publish.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/release-plz.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release-plz
2+
3+
permissions:
4+
pull-requests: write
5+
contents: write
6+
7+
on:
8+
push:
9+
branches:
10+
- main
11+
12+
jobs:
13+
14+
release-plz:
15+
name: Release-plz
16+
runs-on: ubuntu-22.04
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v3
20+
with:
21+
fetch-depth: 0
22+
- name: Install Rust toolchain
23+
uses: dtolnay/rust-toolchain@stable
24+
- name: Run release-plz
25+
uses: MarcoIeni/release-plz-action@main
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_TOKEN }}

0 commit comments

Comments
 (0)