Update test.yml

This commit is contained in:
2024-09-21 21:40:36 +08:00
committed by GitHub
parent 6ad770a824
commit bb49cbdd50

View File

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