Skip to content

Commit a8a9208

Browse files
fix: no make target with project (#689)
* fix: no make with project * chore: set working directory --------- Co-authored-by: hardy <luohf@infinilabs.com>
1 parent 8c9a2ff commit a8a9208

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
version: latest
6767

6868
- name: Install rust target
69+
if: matrix.target == 'i686-pc-windows-msvc'
6970
run: rustup target add ${{ matrix.target }}
7071

7172
- name: Install dependencies (ubuntu only)
@@ -105,15 +106,12 @@ jobs:
105106
chmod 600 ~/.ssh/known_hosts
106107
107108
- name: Pizza engine features setup
109+
working-directory: src-tauri
110+
if: matrix.target != 'i686-pc-windows-msvc'
108111
run: |
109-
if [[ ${{ matrix.target }} == "i686-pc-windows-msvc" ]]; then
110-
rustup target add i686-pc-windows-msvc --toolchain stable
111-
else
112-
make add-dep-pizza-engine-linux
113-
rustup target add ${{ matrix.target}} --toolchain nightly-2025-02-28
114-
fi
115-
116-
112+
rustup target add ${{ matrix.target }}
113+
(cd .. && make add-dep-pizza-engine)
114+
117115
- name: Build the app with ${{ matrix.platform }}
118116
uses: tauri-apps/tauri-action@v0
119117
if: matrix.target != 'i686-pc-windows-msvc'

0 commit comments

Comments
 (0)