优化 CI 构建流程
Some checks failed
Build and Release / build-and-test (arm64, ubuntu) (push) Successful in 29s
Build and Release / build-and-test (amd64, ubuntu) (push) Failing after 16m22s
Build and Release / build-and-test (amd64, alpine) (push) Failing after 16m24s
Build and Release / build-and-test (arm64, alpine) (push) Successful in 28m28s
Build and Release / release (push) Has been skipped

This commit is contained in:
2025-12-08 11:04:48 +08:00
parent ae710732aa
commit b16da1a3c5
4 changed files with 27 additions and 12 deletions

View File

@@ -15,6 +15,9 @@ env:
jobs:
build-and-test:
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-latest-amd64' || 'ubuntu-latest-arm64' }}
concurrency:
group: build-${{ matrix.arch }}
cancel-in-progress: false
strategy:
matrix:
arch: [amd64, arm64]