Skip to content

chore: release v0.1.3 (#19) #11

chore: release v0.1.3 (#19)

chore: release v0.1.3 (#19) #11

Workflow file for this run

name: Release-plz
on:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
jobs:
release-plz-release:
name: Release-plz release
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'RAprogramm' }}
environment: release
permissions:
contents: read
id-token: write
timeout-minutes: 30
steps:
- name: Mint GitHub App token
id: app_token
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2
with:
app-id: ${{ secrets.RELEASE_PLZ_APP_ID }}
private-key: ${{ secrets.RELEASE_PLZ_APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
token: ${{ steps.app_token.outputs.token }}
- name: Install stable Rust
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
- name: Authenticate to crates.io
id: crates_auth
uses: rust-lang/crates-io-auth-action@b7e9a28eded4986ec6b1fa40eeee8f8f165559ec # v1
- name: Run release-plz
uses: release-plz/action@064f4d1e36c843611ddf013be726beaa4ad804db # v0.5
with:
command: release
env:
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}
CARGO_REGISTRY_TOKEN: ${{ steps.crates_auth.outputs.token }}
release-plz-pr:
name: Release-plz PR
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'RAprogramm' }}
needs: release-plz-release
timeout-minutes: 30
steps:
- name: Mint GitHub App token
id: app_token
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2
with:
app-id: ${{ secrets.RELEASE_PLZ_APP_ID }}
private-key: ${{ secrets.RELEASE_PLZ_APP_PRIVATE_KEY }}
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
fetch-depth: 0
token: ${{ steps.app_token.outputs.token }}
- name: Install stable Rust
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
- name: Run release-plz
uses: release-plz/action@064f4d1e36c843611ddf013be726beaa4ad804db # v0.5
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ steps.app_token.outputs.token }}