Skip to content

Commit

Permalink
ci: update release-plz configuration (#72)
Browse files Browse the repository at this point in the history
- use the latest documented configuration
- setup actual release of crate to crates.io

Resolves #71
  • Loading branch information
johnallen3d authored Sep 4, 2023
1 parent 0e236f5 commit 09b2043
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
name: release-plz

permissions:
pull-requests: write
contents: write

on:
push:
branches:
- main

jobs:
release-plz:
name: release-plz
name: Release-plz
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/release-plz-action@main
with:
command: release-pr
uses: MarcoIeni/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 comments on commit 09b2043

Please sign in to comment.