summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsjlleo <[email protected]>2021-11-09 10:29:51 +0800
committerGitHub <[email protected]>2021-11-09 10:29:51 +0800
commitb4572d618f00a992456c716584aa8b16b73aaec7 (patch)
tree6b0d0dd31676157c24d53c707a013aa2757484f3 /.github
parentb26a802fc3d1f27e53c877cb3c6acc2cd63b6d45 (diff)
Update go.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/go.yml19
1 files changed, 17 insertions, 2 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 16a710c..eab56a6 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -1,2 +1,17 @@
-- name: Go Release Binaries
- uses: wangyoucao577/[email protected]
+# .github/workflows/release.yaml
+
+on:
+ release:
+ types: [created]
+
+jobs:
+ release-linux-amd64:
+ name: release linux/amd64
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: wangyoucao577/[email protected]
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ goos: linux
+ goarch: amd64