Use go-cross-build@v2.
Some checks failed
Some checks failed
This commit is contained in:
parent
a6e6e8e6c0
commit
87fa20ba23
@ -33,8 +33,6 @@ jobs:
|
|||||||
if: ${{ ! (endsWith(gitea.ref_name, '-alpha') || endsWith(gitea.ref_name, '-beta') || endsWith(gitea.ref_name, '-rc')) }}
|
if: ${{ ! (endsWith(gitea.ref_name, '-alpha') || endsWith(gitea.ref_name, '-beta') || endsWith(gitea.ref_name, '-rc')) }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: docker qemu setup
|
|
||||||
uses: docker/setup-qemu-action@v3
|
|
||||||
- name: docker buildx setup
|
- name: docker buildx setup
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: login to container registry
|
- name: login to container registry
|
||||||
@ -66,7 +64,7 @@ jobs:
|
|||||||
go-version: '1.23.1'
|
go-version: '1.23.1'
|
||||||
cache-dependency-path: go.sum
|
cache-dependency-path: go.sum
|
||||||
- name: gotta build 'em all
|
- name: gotta build 'em all
|
||||||
uses: https://git.hl.srp.life/srp/go-cross-build@v1
|
uses: https://git.hl.srp.life/srp/go-cross-build@v2
|
||||||
with:
|
with:
|
||||||
platforms: 'linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, freebsd/amd64, netbsd/amd64, openbsd/amd64, windows/amd64'
|
platforms: 'linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, freebsd/amd64, netbsd/amd64, openbsd/amd64, windows/amd64'
|
||||||
name: bingo
|
name: bingo
|
||||||
|
Loading…
Reference in New Issue
Block a user