add windows release

This commit is contained in:
lyyyuna 2021-09-09 17:41:13 +08:00 committed by Li Yiyang
parent d4c0c37202
commit 9b09d8476f

View File

@ -52,4 +52,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: amd64
GOOS: darwin
GOOS: darwin
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:
go-version: 1.16.x
- name: compile and release
run: |
./hack/release.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: amd64
GOOS: windows