⬆️ Update dependencies and version numbers #7
Workflow file for this run
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 Installer | |
on: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
env: | |
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }} | |
jobs: | |
release: | |
permissions: | |
contents: write | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
- name: Python setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.9" | |
- name: Rust setup | |
uses: dtolnay/rust-toolchain@stable | |
- name: Rust cache | |
uses: swatinem/rust-cache@v2 | |
with: | |
workspaces: "./backend -> target" | |
- name: Sync node version and setup cache | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "yarn" | |
- name: Download Models | |
shell: pwsh | |
run: .\download_models.ps1 | |
- name: Install Dependencies | |
run: yarn | |
- name: Activate Python venv | |
shell: pwsh | |
run: .\venv\Scripts\Activate.ps1 | |
- name: Build the app | |
uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tagName: ${{ github.ref_name }} # This only works if your workflow triggers on new tags. | |
releaseName: "App Name v__VERSION__" # tauri-action replaces \_\_VERSION\_\_ with the app version. | |
releaseBody: "See the assets to download and install this version." | |
releaseDraft: true | |
prerelease: false |