mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
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
ddb45c943b
commit
343f172304
1 changed files with 51 additions and 6 deletions
57
.github/workflows/checks.yml
vendored
57
.github/workflows/checks.yml
vendored
|
@ -124,18 +124,63 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --snapshot --rm-dist
|
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
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: act-linux
|
name: act-linux-amd64
|
||||||
path: dist/act_linux_amd64/act
|
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
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
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
|
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
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
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
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue