Skip to content

Commit 3a0d5e2

Browse files
committed
fix: enhance Windows build workflow with WebView2 and Visual C++ Build Tools installation
1 parent bdef903 commit 3a0d5e2

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
jobs:
1010
build:
1111
strategy:
12+
fail-fast: false
1213
matrix:
1314
platform: [ubuntu-22.04, windows-latest, macos-latest]
1415

@@ -49,13 +50,32 @@ jobs:
4950
if: matrix.platform == 'windows-latest'
5051
run: |
5152
choco install -y libusb
53+
54+
# Install WebView2 - required for Tauri on Windows
55+
choco install -y microsoft-edge-webview2
56+
57+
# Install Visual C++ Build Tools
58+
choco install -y visualstudio2019buildtools visualstudio2019-workload-vctools
59+
60+
# Show installed environment for debugging
61+
echo "Environment Path:"
62+
echo $env:PATH
5263
5364
- name: Install npm dependencies
5465
run: |
5566
cd webbboot-companion
5667
npm install
5768
58-
- name: Build Tauri app
69+
- name: Build Tauri app (Windows with verbose output)
70+
if: matrix.platform == 'windows-latest'
71+
run: |
72+
cd webbboot-companion
73+
npm run tauri build -- --debug
74+
env:
75+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
77+
- name: Build Tauri app (other platforms)
78+
if: matrix.platform != 'windows-latest'
5979
run: |
6080
cd webbboot-companion
6181
npm run tauri build --release

0 commit comments

Comments
 (0)