From 9b09d8476fbddcd93d2c3eeaf94304553cfa91ce Mon Sep 17 00:00:00 2001 From: lyyyuna Date: Thu, 9 Sep 2021 17:41:13 +0800 Subject: [PATCH] add windows release --- .github/workflows/release.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e904b0a..75daa46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,4 +52,21 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GOARCH: amd64 - GOOS: darwin \ No newline at end of file + 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 \ No newline at end of file