| 1 |
name: Release-plz |
| 2 |
|
| 3 |
permissions: |
| 4 |
pull-requests: write |
| 5 |
contents: write |
| 6 |
|
| 7 |
on: |
| 8 |
push: { branches: [main] } |
| 9 |
|
| 10 |
jobs: |
| 11 |
release-plz: |
| 12 |
name: Release-plz |
| 13 |
runs-on: ubuntu-24.04 |
| 14 |
steps: |
| 15 |
- name: Checkout repository |
| 16 |
uses: actions/checkout@v5 |
| 17 |
with: |
| 18 |
fetch-depth: 0 |
| 19 |
- name: Install Rust (rustup) |
| 20 |
run: rustup update nightly --no-self-update && rustup default nightly |
| 21 |
- name: Run release-plz |
| 22 |
uses: MarcoIeni/[email protected] |
| 23 |
env: |
| 24 |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
| 25 |
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |