Update test.yml

This commit is contained in:
2024-09-21 21:40:36 +08:00
committed by GitHub
parent 521e2c72f5
commit ddfd9f7923

View File

@@ -1,10 +1,15 @@
name: Go Build and Release
#on:
# push:
# tags:
# - 'v*.*.*' # 当推送带有版本号的 tag例如 v1.0.0)时触发工作流
on:
push:
tags:
- 'v*.*.*' # 当推送带有版本号的 tag例如 v1.0.0)时触发工作流
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest