File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ concurrency:
8
8
cancel-in-progress : true
9
9
on :
10
10
pull_request :
11
- branches : [ master, v2 ]
11
+ branches : [ master, v1 ]
12
12
workflow_dispatch :
13
13
jobs :
14
14
build :
Original file line number Diff line number Diff line change 59
59
git commit -m "Set new SNAPSHOT version into pom files." -a
60
60
env :
61
61
RELEASE_VERSION : ${{ github.event.release.tag_name }}
62
- - name : Push changes
62
+ - name : Push changes v1
63
63
uses : ad-m/github-push-action@master
64
+ if : ${{ startsWith(github.event.release.tag_name, 'v1.' ) }}
65
+ with :
66
+ github_token : ${{ secrets.GITHUB_TOKEN }}
67
+ branch : " v1"
68
+ - name : Push changes v2
69
+ uses : ad-m/github-push-action@master
70
+ if : ${{ startsWith(github.event.release.tag_name, 'v2.' ) }}
64
71
with :
65
72
github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments