From a8a9208b1fe0e8759d8781b48382ed42fb5d7b5a Mon Sep 17 00:00:00 2001 From: Hardy Date: Fri, 13 Jun 2025 22:17:37 +0800 Subject: [PATCH] fix: no make target with project (#689) * fix: no make with project * chore: set working directory --------- Co-authored-by: hardy --- .github/workflows/release.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e2cd598a..856709b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,6 +66,7 @@ jobs: version: latest - name: Install rust target + if: matrix.target == 'i686-pc-windows-msvc' run: rustup target add ${{ matrix.target }} - name: Install dependencies (ubuntu only) @@ -105,15 +106,12 @@ jobs: chmod 600 ~/.ssh/known_hosts - name: Pizza engine features setup + working-directory: src-tauri + if: matrix.target != 'i686-pc-windows-msvc' run: | - if [[ ${{ matrix.target }} == "i686-pc-windows-msvc" ]]; then - rustup target add i686-pc-windows-msvc --toolchain stable - else - make add-dep-pizza-engine-linux - rustup target add ${{ matrix.target}} --toolchain nightly-2025-02-28 - fi - - + rustup target add ${{ matrix.target }} + (cd .. && make add-dep-pizza-engine) + - name: Build the app with ${{ matrix.platform }} uses: tauri-apps/tauri-action@v0 if: matrix.target != 'i686-pc-windows-msvc'