From 8023974e24972897a046cfe8b61aaaa87bb61ef1 Mon Sep 17 00:00:00 2001 From: shiquda Date: Sun, 1 Dec 2024 13:43:24 +0800 Subject: [PATCH] 11 --- .github/workflows/build.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a7af8b4..44eaa16 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: |