Skip to content

Commit

Permalink
ci: rename and tweak publish crates action
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Mar 30, 2024
1 parent df62828 commit 348c3e9
Showing 1 changed file with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,18 @@
name: Release Plz

permissions:
pull-requests: write
contents: write
name: Release crates

on:
push:
branches:
- main
paths:
- Cargo.toml

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

- name: Install Rust Toolchain
uses: ./.github/actions/rustup
Expand All @@ -26,6 +21,8 @@ jobs:

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

0 comments on commit 348c3e9

Please sign in to comment.