This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Release Desktop App' | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
publish-tauri: | ||
permissions: | ||
contents: write | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- platform: 'windows-latest' | ||
args: '' | ||
runs-on: ${{ matrix.platform }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install Rust stable | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Rust cache | ||
uses: swatinem/rust-cache@v2 | ||
with: | ||
workspaces: './projects/desktop -> target' | ||
- name: Release App | ||
uses: tauri-apps/tauri-action@v0 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tagName: ssr-desktop-v__VERSION__ | ||
releaseName: 'ScoreSaber Reloaded Desktop App v__VERSION__ | ||
releaseBody: 'Download this version of the ScoreSaber Reloaded Desktop App.' | ||
releaseDraft: false | ||
prerelease: false | ||
args: ${{ matrix.args }} |