From e2eb2ca425407ac081d777786864b7c1fe1170ef Mon Sep 17 00:00:00 2001 From: pandadev <70103896+0PandaDEV@users.noreply.github.com> Date: Tue, 30 Jul 2024 14:28:17 +0200 Subject: [PATCH] better workflow --- .github/workflows/build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a20dab4..0a295a5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file