ci: 移除 Linux arm64 构建并简化制品上传

This commit is contained in:
mogumc committed 2026-05-27 19:31:02 +08:00
1 parent e5e5827e77
commit 1008f127ae
1 file changed
+8 -33
+8 -33
View File
@@ -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