Skip to content

Build release

Build release #1

Workflow file for this run

name: "Build release"
on:
push:
branches:
- release
workflow_dispatch:
jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: install dependencies (ubuntu only)
if: matrix.platform == "ubuntu-latest"

Check failure on line 31 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Build release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 31, Col: 13): Unexpected symbol: '"ubuntu-latest"'. Located at position 20 within expression: matrix.platform == "ubuntu-latest"
run: |
sudo apt-get update
# For tauri v2, we need libwebkit2gtk-4.1. Remember to change this...
sudo apt-get install -y libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: install frontend dependencies
run: npm install
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: __VERSION__
releaseName: Release __VERSION__
releaseBody: See the assets to download and install this version.
releaseDraft: true
# Change this to false once we have a stable release
prerelease: true