Skip to content

Commit

Permalink
chore: test running release-plz in parallel (#1753)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoIeni authored Oct 8, 2024
1 parent cc9913f commit 297fd80
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions .github/workflows/release-plz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,31 @@ on:
- main

jobs:

release-plz:
name: Release-plz
release-plz-release:
name: Release-plz Release
runs-on: ubuntu-24.04
steps:
# Generating a GitHub token, so that PRs and tags created by
# the release-plz-action can trigger actions workflows.
- name: Generate GitHub token
uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ steps.generate-token.outputs.token }}
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: MarcoIeni/release-plz-action@main
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-24.04
concurrency:
group: release-plz-${{ github.ref }}
Expand Down

0 comments on commit 297fd80

Please sign in to comment.