You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
40 lines
1.0 KiB
4 years ago
|
on: release
|
||
|
name: Build Release
|
||
|
jobs:
|
||
|
release-darwin-amd64:
|
||
|
name: release darwin/amd64
|
||
|
runs-on: macos-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@master
|
||
|
- name: compile and release
|
||
|
uses: ngs/go-release.action@v1.0.1
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
GOARCH: amd64
|
||
|
GOOS: darwin
|
||
|
EXTRA_FILES: "LICENSE"
|
||
|
release-windows-386:
|
||
|
name: release windows/386
|
||
|
runs-on: windows-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@master
|
||
|
- name: compile and release
|
||
|
uses: ngs/go-release.action@v1.0.1
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
GOARCH: "386"
|
||
|
GOOS: windows
|
||
|
EXTRA_FILES: "LICENSE"
|
||
|
release-windows-amd64:
|
||
|
name: release windows/amd64
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@master
|
||
|
- name: compile and release
|
||
|
uses: ngs/go-release.action@v1.0.1
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
GOARCH: amd64
|
||
|
GOOS: windows
|
||
|
EXTRA_FILES: "LICENSE"
|