Skip to content

Release

Release #2

Workflow file for this run

name: Release
on:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
release:
strategy:
fail-fast: false
matrix:
platform: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install webkit2gtk (ubuntu only)
if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: latest
- name: Setup node and Cache .pnpm-store
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'pnpm'
- name: Rust setup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
- name: Install dependencies
run: pnpm install
- name: Build 🔧
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# the action automatically replaces __VERSION__ with the app version
tagName: v__VERSION__
releaseName: 'v__VERSION__'
releaseDraft: true
prerelease: false
tauriScript: 'pnpm'