mirror of
https://github.com/0PandaDEV/Qopy.git
synced 2025-04-21 13:14:04 +02:00
better workflow
This commit is contained in:
parent
1b8f471606
commit
e2eb2ca425
1 changed files with 9 additions and 3 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -14,7 +14,11 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
platform: [ubuntu-latest, windows-latest]
|
||||
include:
|
||||
- platform: "ubuntu-latest"
|
||||
args: ""
|
||||
- platform: "windows-latest"
|
||||
args: ""
|
||||
|
||||
runs-on: ${{ matrix.platform }}
|
||||
env:
|
||||
|
@ -25,7 +29,7 @@ jobs:
|
|||
- name: setup node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
node-version: lts/*
|
||||
|
||||
- name: install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
@ -54,6 +58,8 @@ jobs:
|
|||
run: npm install -g pnpm && pnpm install
|
||||
|
||||
- uses: tauri-apps/tauri-action@v0
|
||||
with:
|
||||
args: ${{ matrix.args }}
|
||||
|
||||
- name: Publish Windows Artifact
|
||||
if: matrix.platform == 'windows-latest'
|
||||
|
@ -77,4 +83,4 @@ jobs:
|
|||
if: matrix.platform == 'ubuntu-latest'
|
||||
with:
|
||||
name: build-ubuntu-rpm
|
||||
path: src-tauri/target/release/bundle/rpm/*.rpm
|
||||
path: src-tauri/target/release/bundle/rpm/*.rpm
|
Loading…
Add table
Add a link
Reference in a new issue