Skip to content

Update build-linux.yml #212

Update build-linux.yml

Update build-linux.yml #212

Workflow file for this run

name: "Windows"
on:
push:
branches: ["3.X.X"]
workflow_dispatch:
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install Rust Stable
uses: dtolnay/rust-toolchain@stable
- name: Install Frontend Dependencies
run: npm install # change this to npm or pnpm depending on which one you use
- name: Build Application
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tagName: __VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version
releaseName: "v__VERSION__"
releaseBody: "See the assets to download this version and install. Replace AppImage with one uploaded in artifact"
releaseDraft: true
prerelease: false
- name: Upload Portable Executable
uses: actions/upload-artifact@v4
with:
name: Chrultrabook-Tools
retention-days: 5
path: src-tauri/target/release/chrultrabook*.exe