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