chore build: update all dependencies #36
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: "publish" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-tauri: | |
permissions: | |
contents: write | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- platform: "windows-latest" | |
args: "" | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: 'pnpm' | |
- name: install Rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: init Rust cache | |
uses: Swatinem/rust-cache@v2 | |
with: | |
workspaces: src-tauri | |
- name: install frontend dependencies | |
run: pnpm install | |
- name: run tauri action to publish | |
uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} | |
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} | |
with: | |
tagName: iracehud-v__VERSION__ | |
releaseName: "iRaceHUD v__VERSION__" | |
releaseBody: "Iracing HUD overlay" | |
releaseDraft: true | |
prerelease: false | |
args: ${{ matrix.args }} |