From 1008f127ae273176d62272787e7ab5a97d32bf5d Mon Sep 17 00:00:00 2001 From: mogumc Date: Wed, 27 May 2026 19:31:02 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E7=A7=BB=E9=99=A4=20Linux=20arm64=20?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E5=B9=B6=E7=AE=80=E5=8C=96=E5=88=B6=E5=93=81?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 41 ++++++++----------------------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f27744e..ab8fef0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,7 +94,7 @@ jobs: - name: Install Wails run: go install github.com/wailsapp/wails/v2/cmd/wails@latest - - name: Build amd64 + - name: Build env: CGO_ENABLED: 1 GOOS: linux @@ -105,23 +105,11 @@ jobs: -ldflags "-X webhelper/global.Version=${{ steps.version.outputs.version }}" \ -o webhelper-linux-amd64 - - name: Build arm64 - env: - CGO_ENABLED: 0 - GOOS: linux - GOARCH: arm64 - run: | - wails build \ - -platform linux/arm64 \ - -ldflags "-X webhelper/global.Version=${{ steps.version.outputs.version }}" \ - -o webhelper-linux-arm64 - - - name: Upload artifacts + - name: Upload artifact uses: actions/upload-artifact@v4 with: - path: | - build/bin/webhelper-linux-amd64 - build/bin/webhelper-linux-arm64 + name: webhelper-linux-amd64 + path: build/bin/webhelper-linux-amd64 build-linux-new: runs-on: ubuntu-latest @@ -163,7 +151,7 @@ jobs: - name: Install Wails run: go install github.com/wailsapp/wails/v2/cmd/wails@latest - - name: Build amd64 + - name: Build env: CGO_ENABLED: 1 GOOS: linux @@ -175,24 +163,11 @@ jobs: -ldflags "-X webhelper/global.Version=${{ steps.version.outputs.version }}" \ -o webhelper-linux-amd64-webkit2_41 - - name: Build arm64 - env: - CGO_ENABLED: 0 - GOOS: linux - GOARCH: arm64 - run: | - wails build \ - -platform linux/arm64 \ - -tags webkit2_41 \ - -ldflags "-X webhelper/global.Version=${{ steps.version.outputs.version }}" \ - -o webhelper-linux-arm64-webkit2_41 - - - name: Upload artifacts + - name: Upload artifact uses: actions/upload-artifact@v4 with: - path: | - build/bin/webhelper-linux-amd64-webkit2_41 - build/bin/webhelper-linux-arm64-webkit2_41 + name: webhelper-linux-amd64-webkit2_41 + path: build/bin/webhelper-linux-amd64-webkit2_41 build-macos: runs-on: macos-latest