2023-07-28 08:25:20 +00:00
|
|
|
on:
|
2021-07-22 03:26:55 +00:00
|
|
|
release:
|
|
|
|
types: [published,edited]
|
|
|
|
name: Build Release
|
|
|
|
jobs:
|
|
|
|
release-linux-amd64:
|
|
|
|
name: release linux/amd64
|
|
|
|
runs-on: ubuntu-latest
|
2023-07-28 08:33:30 +00:00
|
|
|
permissions: write-all
|
2021-07-22 03:26:55 +00:00
|
|
|
steps:
|
2023-07-28 08:25:20 +00:00
|
|
|
- uses: actions/checkout@master
|
2021-07-22 03:26:55 +00:00
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2023-07-28 08:25:20 +00:00
|
|
|
go-version: 1.19.x
|
2021-07-22 03:26:55 +00:00
|
|
|
- name: compile and release
|
|
|
|
run: |
|
|
|
|
./hack/release.sh
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GOARCH: amd64
|
|
|
|
GOOS: linux
|
|
|
|
|
|
|
|
release-linux-386:
|
|
|
|
name: release linux/386
|
2023-07-28 08:33:30 +00:00
|
|
|
permissions: write-all
|
2021-07-22 03:26:55 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-07-28 08:25:20 +00:00
|
|
|
- uses: actions/checkout@master
|
2021-07-22 03:26:55 +00:00
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2023-07-28 08:25:20 +00:00
|
|
|
go-version: 1.19.x
|
2021-07-22 03:26:55 +00:00
|
|
|
- name: compile and release
|
|
|
|
run: |
|
|
|
|
./hack/release.sh
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GOARCH: "386"
|
|
|
|
GOOS: linux
|
|
|
|
|
|
|
|
release-darwin-amd64:
|
|
|
|
name: release darwin/amd64
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-07-28 08:25:20 +00:00
|
|
|
- uses: actions/checkout@master
|
2021-07-22 03:26:55 +00:00
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2023-07-28 08:25:20 +00:00
|
|
|
go-version: 1.19.x
|
2021-07-22 03:26:55 +00:00
|
|
|
- name: compile and release
|
|
|
|
run: |
|
|
|
|
./hack/release.sh
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GOARCH: amd64
|
2021-09-09 09:41:13 +00:00
|
|
|
GOOS: darwin
|
|
|
|
|
2023-07-28 05:41:33 +00:00
|
|
|
# release-windows-amd64:
|
|
|
|
# name: release windows/amd64
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@master
|
|
|
|
# - name: Install Go
|
|
|
|
# uses: actions/setup-go@v2
|
|
|
|
# with:
|
2023-07-28 08:25:20 +00:00
|
|
|
# go-version: 1.19.x
|
2023-07-28 05:41:33 +00:00
|
|
|
# - name: compile and release
|
|
|
|
# run: |
|
|
|
|
# ./hack/release.sh
|
|
|
|
# env:
|
|
|
|
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
# GOARCH: amd64
|
|
|
|
# GOOS: windows
|