mirror of
https://github.com/3bbbeau/tfvars-atlantis-config.git
synced 2024-11-21 21:40:52 +00:00
ci: multi-arch release automation
This commit is contained in:
parent
3cd7e44cb3
commit
d64e4b7183
22
.github/workflows/release.yaml
vendored
22
.github/workflows/release.yaml
vendored
@ -7,13 +7,27 @@ permissions:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-linux-amd64:
|
releases-matrix:
|
||||||
name: release linux/amd64
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
goos: [linux, windows, darwin]
|
||||||
|
goarch: ["386", amd64, arm64]
|
||||||
|
exclude:
|
||||||
|
- goarch: "386"
|
||||||
|
goos: darwin
|
||||||
|
- goarch: arm64
|
||||||
|
goos: windows
|
||||||
steps:
|
steps:
|
||||||
|
- uses: extractions/setup-just@v1
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: wangyoucao577/go-release-action@v1
|
- uses: wangyoucao577/go-release-action@v1
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
goos: linux
|
pre_command: export CGO_ENABLED=0
|
||||||
goarch: amd64
|
goos: ${{ matrix.goos }}
|
||||||
|
goarch: ${{ matrix.goarch }}
|
||||||
|
goversion: "./go.mod"
|
||||||
|
Loading…
Reference in New Issue
Block a user