Skip to content

Commit

Permalink
ci: add release-plz
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Mar 26, 2024
1 parent 5cfbac6 commit 8347cd8
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 44 deletions.
44 changes: 0 additions & 44 deletions .github/workflows/publish_crate.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release Plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:
release-plz:
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Rust Toolchain
uses: ./.github/actions/rustup
with:
save-cache: false

- name: Run release-plz
uses: MarcoIeni/release-plz-action@v0.5
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_PLZ_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 8347cd8

Please sign in to comment.