Skip to content

Commit

Permalink
11
Browse files Browse the repository at this point in the history
  • Loading branch information
shiquda committed Dec 1, 2024
1 parent dd665ed commit 8023974
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,21 @@ jobs:
if: runner.os == 'Windows'
run: mkdir build\bin

- name: Build Wails App
- name: Build Wails App (Non-Windows)
if: runner.os != 'Windows'
run: wails build --platform ${{ matrix.build-platform }} -webview2 download -nsis -o build/bin/${{ matrix.build-name }}
run: |
wails build --platform ${{ matrix.build-platform }} -webview2 download -o build/bin/${{ matrix.build-name }}
working-directory: ./ # 确保在仓库根目录

- name: Build Windows Installer
if: runner.os == 'Windows'
run: wails build --platform ${{ matrix.build-platform }} -webview2 download -nsis -o build/bin/${{ matrix.installer-name }}
run: |
wails build --platform ${{ matrix.build-platform }} -webview2 download -nsis -o build/bin/${{ matrix.installer-name }}
- name: Build Windows Executable
if: runner.os == 'Windows'
run: wails build --platform ${{ matrix.build-platform }} -webview2 download -o build/bin/${{ matrix.executable-name }}
run: |
wails build --platform ${{ matrix.build-platform }} -webview2 download -o build/bin/${{ matrix.executable-name }}
- name: List Build Directory
run: |
Expand Down

0 comments on commit 8023974

Please sign in to comment.