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:
88 cancel-in-progress : true
99on :
1010 pull_request :
11- branches : [ master, v2 ]
11+ branches : [ master, v1 ]
1212 workflow_dispatch :
1313jobs :
1414 build :
Original file line number Diff line number Diff line change 5959 git commit -m "Set new SNAPSHOT version into pom files." -a
6060 env :
6161 RELEASE_VERSION : ${{ github.event.release.tag_name }}
62- - name : Push changes
62+ - name : Push changes v1
6363 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.' ) }}
6471 with :
6572 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments