]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Update go.yml v0.0.3
authorqydysky <32743305+qydysky@users.noreply.github.com>
Sun, 4 Oct 2020 11:45:37 +0000 (19:45 +0800)
committerGitHub <noreply@github.com>
Sun, 4 Oct 2020 11:45:37 +0000 (19:45 +0800)
.github/workflows/go.yml

index e5995510ca1b30bbb664f29aecf3fd00e55454f8..a57eb5b23119a322280ef6510b898c26397b347f 100644 (file)
@@ -1,13 +1,10 @@
 name: Go
 
 on:
-  push:
-    # Sequence of patterns matched against refs/heads
-    branches:    
-      # Push events on main branch
-      - main
-    tags:        
-      - v*
+  release:
+    types: [released,prereleased]
+    branches:
+    - master
 
 jobs: