Add arm64
/arm
and capture all snapshots (#699)
* fix: format `.goreleaser.yml` * feat: add `arm64`/`arm` builds * feat: capture all binaries built by goreleaser `upload-artifact` actions will run only on GitHub Actions due to `ACTIONS_RUNTIME_TOKEN` requirement * fix: remove `windows/arm/6`
This commit is contained in:
parent
799098b0e6
commit
490039975f
2 changed files with 73 additions and 20 deletions
57
.github/workflows/checks.yml
vendored
57
.github/workflows/checks.yml
vendored
|
@ -124,18 +124,63 @@ jobs:
|
|||
with:
|
||||
version: latest
|
||||
args: release --snapshot --rm-dist
|
||||
- name: Capture Linux Binary
|
||||
- name: Capture x86_64 (64-bit) Linux binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-linux
|
||||
name: act-linux-amd64
|
||||
path: dist/act_linux_amd64/act
|
||||
- name: Capture Windows Binary
|
||||
- name: Capture i386 (32-bit) Linux binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-windows
|
||||
name: act-linux-i386
|
||||
path: dist/act_linux_386/act
|
||||
- name: Capture arm64 (64-bit) Linux binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-linux-arm64
|
||||
path: dist/act_linux_arm64/act
|
||||
- name: Capture armv6 (32-bit) Linux binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-linux-armv6
|
||||
path: dist/act_linux_arm_6/act
|
||||
- name: Capture armv7 (32-bit) Linux binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-linux-armv7
|
||||
path: dist/act_linux_arm_7/act
|
||||
- name: Capture x86_64 (64-bit) Windows binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-windows-amd64
|
||||
path: dist/act_windows_amd64/act.exe
|
||||
- name: Capture MacOS Binary
|
||||
- name: Capture i386 (32-bit) Windows binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-macos
|
||||
name: act-windows-i386
|
||||
path: dist/act_windows_386/act.exe
|
||||
- name: Capture armv7 (32-bit) Windows binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-windows-armv7
|
||||
path: dist/act_windows_arm_7/act.exe
|
||||
- name: Capture x86_64 (64-bit) MacOS binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-macos-amd64
|
||||
path: dist/act_darwin_amd64/act
|
||||
- name: Capture arm64 (64-bit) MacOS binary
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: act-macos-arm64
|
||||
path: dist/act_darwin_arm64/act
|
||||
|
|
|
@ -11,10 +11,18 @@ builds:
|
|||
goarch:
|
||||
- amd64
|
||||
- 386
|
||||
- arm64
|
||||
- arm
|
||||
goarm:
|
||||
- 6
|
||||
- 7
|
||||
ignore:
|
||||
- goos: windows
|
||||
goarm: 6
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
archives:
|
||||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
|
||||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}'
|
||||
replacements:
|
||||
darwin: Darwin
|
||||
linux: Linux
|
||||
|
|
Loading…
Reference in a new issue