Skip to content

Commit b004670

Browse files
fix: windows platform run with shell (#729)
* fix: windows platform run with shell * chore: add rust target --------- Co-authored-by: hardy <[email protected]>
1 parent a426e33 commit b004670

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,15 @@ jobs:
8181
sudo apt-get update
8282
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf xdg-utils
8383
84+
- name: Add Rust build target for ${{ matrix.target }}
85+
working-directory: src-tauri
86+
shell: bash
87+
run: |
88+
rustup target add ${{ matrix.target }} || true
89+
8490
- name: Add pizza engine as a dependency
8591
working-directory: src-tauri
92+
shell: bash
8693
run: |
8794
BUILD_ARGS="--target ${{ matrix.target }}"
8895
if [[ "${{matrix.target }}" != "i686-pc-windows-msvc" ]]; then

0 commit comments

Comments
 (0)