Skip to content

Commit f115174

Browse files
trigger on new tag only
1 parent 012bd02 commit f115174

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ name: Build and Release
22

33
on:
44
push:
5-
# Trigger the workflow on a push to the `main` branch or when a tag is created
6-
branches:
7-
- "main"
85
tags:
9-
- "v*" # This will trigger for tags that start with "v" (e.g., v1.0, v1.1)
6+
- "v*"
107

118
jobs:
129
build:

0 commit comments

Comments
 (0)