pull/269/merge
zijiren233 3 months ago
parent f7bd944b21
commit 715f4255ec

@ -28,25 +28,22 @@ jobs:
- linux/ppc64le
- linux/riscv64
- linux/s390x
- linux/mips:cgo
- linux/mips64:cgo
- linux/mips64le:cgo
- linux/mipsle:cgo
- darwin/amd64
- darwin/arm64
- windows/386
- windows/amd64
- windows/arm
- windows/arm64
- freebsd/386
- freebsd/amd64
- freebsd/arm
- freebsd/arm64
- freebsd/riscv64
- openbsd/386
- openbsd/amd64
- openbsd/arm
- openbsd/arm64
- netbsd/386
- netbsd/amd64
- netbsd/arm
- netbsd/arm64
steps:
- name: Checkout
uses: actions/checkout@v4

@ -6,29 +6,37 @@ on:
- "v*"
jobs:
get-targets:
name: Get all targets
runs-on: ubuntu-latest
outputs:
targets: ${{ steps.get-targets.outputs.targets }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get targets
id: get-targets
uses: zijiren233/go-build-action@v1
with:
show-all-targets: true
release:
name: Release
needs: get-targets
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: ${{ fromJson(needs.get-targets.outputs.targets) }}
target:
- linux/386
- linux/amd64
- linux/arm
- linux/arm64
- linux/loong64
- linux/ppc64le
- linux/riscv64
- linux/s390x
- linux/mips:cgo
- linux/mips64:cgo
- linux/mips64le:cgo
- linux/mipsle:cgo
- darwin/amd64
- darwin/arm64
- windows/386
- windows/amd64
- windows/arm64
- freebsd/386
- freebsd/amd64
- freebsd/arm
- freebsd/arm64
- openbsd/amd64
- openbsd/arm64
- netbsd/amd64
steps:
- name: Checkout
uses: actions/checkout@v4

@ -4,29 +4,37 @@ on:
workflow_dispatch:
jobs:
get-targets:
name: Get all targets
runs-on: ubuntu-latest
outputs:
targets: ${{ steps.get-targets.outputs.targets }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get targets
id: get-targets
uses: zijiren233/go-build-action@v1
with:
show-all-targets: true
release_dev:
name: Release dev
runs-on: ubuntu-latest
needs: get-targets
strategy:
fail-fast: false
matrix:
target: ${{ fromJson(needs.get-targets.outputs.targets) }}
target:
- linux/386
- linux/amd64
- linux/arm
- linux/arm64
- linux/loong64
- linux/ppc64le
- linux/riscv64
- linux/s390x
- linux/mips:cgo
- linux/mips64:cgo
- linux/mips64le:cgo
- linux/mipsle:cgo
- darwin/amd64
- darwin/arm64
- windows/386
- windows/amd64
- windows/arm64
- freebsd/386
- freebsd/amd64
- freebsd/arm
- freebsd/arm64
- openbsd/amd64
- openbsd/arm64
- netbsd/amd64
steps:
- name: Checkout
uses: actions/checkout@v4

Loading…
Cancel
Save