Skip to content

Merge pull request #342 from tauri-apps/dependabot/github_actions/act… #141

Merge pull request #342 from tauri-apps/dependabot/github_actions/act…

Merge pull request #342 from tauri-apps/dependabot/github_actions/act… #141

Workflow file for this run

name: Release
permissions:
pull-requests: write
contents: write
on:
push:
branches:
- dev
jobs:
# Release unpublished packages.
release-plz-release:
name: Release-plz release
if: ${{ github.repository_owner == 'tauri-apps' }}
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/[email protected]
with:
command: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.ORG_CRATES_IO_TOKEN }}
# Create a PR with the new versions and changelog, preparing the next release.
release-plz-pr:
name: Release-plz PR
if: ${{ github.repository_owner == 'tauri-apps' }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
concurrency:
group: release-plz-${{ github.ref }}
cancel-in-progress: false
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Run release-plz
uses: release-plz/[email protected]
with:
command: release-pr
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CARGO_REGISTRY_TOKEN: ${{ secrets.ORG_CRATES_IO_TOKEN }}