Skip to content

Commit 1d5adf0

Browse files
committed
Cancel publish on each push
1 parent a4194c4 commit 1d5adf0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish package to GitHub Packages
22
on:
33
push:
44
branches:
5-
- main
5+
- aaa
66
jobs:
77
publish:
88
runs-on: ubuntu-latest

.github/workflows/maven-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Publish package to GitHub Packages
22
on:
33
release:
44
types: [created]
5+
push:
6+
tag:
7+
- 'v**'
8+
- 'V**'
59
jobs:
610
publish:
711
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)