Skip to content

Commit

Permalink
Create go-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
snakeice authored Jun 27, 2020
1 parent 79e48bf commit 9036f58
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on: release
name: Build Release
jobs:
release-windows-386:
name: release windows/386
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: "386"
GOOS: windows
CMD_PATH: "./app.go"
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
CMD_PATH: "./app.go"

0 comments on commit 9036f58

Please sign in to comment.