fix: fix CI workflow failures for Arch and Alpine package builds
Some checks failed
Build and Publish Arch Package / build-arch (amd64, x86_64) (push) Successful in 1m14s
Build and Publish Arch Package / build-arch (arm64, aarch64) (push) Successful in 1m7s
Build and Push Docker Container / build-and-push (push) Successful in 1m47s
Build and Publish APK Package / build-apk (amd64, x86_64) (push) Failing after 51s
Build and Publish APK Package / build-apk (arm64, aarch64) (push) Successful in 49s
Some checks failed
Build and Publish Arch Package / build-arch (amd64, x86_64) (push) Successful in 1m14s
Build and Publish Arch Package / build-arch (arm64, aarch64) (push) Successful in 1m7s
Build and Push Docker Container / build-and-push (push) Successful in 1m47s
Build and Publish APK Package / build-apk (amd64, x86_64) (push) Failing after 51s
Build and Publish APK Package / build-apk (arm64, aarch64) (push) Successful in 49s
Move checkout before setup-go in Arch workflow so src/go.mod exists, and remove unsupported --platform container option from Alpine workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,6 @@ jobs:
|
||||
- ubuntu-24.04
|
||||
container:
|
||||
image: alpine:latest
|
||||
options: --platform linux/amd64
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
||||
@@ -19,14 +19,14 @@ jobs:
|
||||
- name: Install build dependencies
|
||||
run: sudo apt-get update -qq && sudo apt-get install -y --no-install-recommends zstd curl
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version-file: src/go.mod
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build binary
|
||||
run: |
|
||||
cd src
|
||||
|
||||
Reference in New Issue
Block a user