Browse Source

add release

liuyuqi-dellpc 4 years ago
parent
commit
b45375cd87
1 changed files with 9 additions and 0 deletions
  1. 9 0
      go/.github/workflows/main.yml

+ 9 - 0
go/.github/workflows/main.yml

@@ -52,3 +52,12 @@ jobs:
       with:
         name: artifact
         path: output
+
+    - name: Run GoReleaser
+      uses: goreleaser/goreleaser-action@v1
+      with:
+        version: latest
+        args: release --rm-dist
+        key: ${{ secrets.YOUR_PRIVATE_KEY }}
+      env:
+        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}