@@ -17,11 +17,11 @@ jobs:
1717 with :
1818 ref : " v2"
1919 - uses : actions/checkout@v3
20- if : ${{ endsWith (github.event.release.tag_name, 'f8-5.x ') }}
20+ if : ${{ startsWith (github.event.release.tag_name, 'v3. ') }}
2121 with :
22- ref : " main-f8-5.x "
22+ ref : " v3 "
2323 - uses : actions/checkout@v3
24- if : ${{ startsWith(github.event.release.tag_name, 'v3 .') }}
24+ if : ${{ startsWith(github.event.release.tag_name, 'v4 .') }}
2525 - name : Set up Java and Maven
2626 uses : actions/setup-java@v3
2727 with :
@@ -62,11 +62,11 @@ jobs:
6262 with :
6363 ref : " v2"
6464 - uses : actions/checkout@v3
65- if : ${{ endsWith (github.event.release.tag_name, 'f8-5.x ') }}
65+ if : ${{ startsWith (github.event.release.tag_name, 'v3. ') }}
6666 with :
67- ref : " main-f8-5.x "
67+ ref : " v3 "
6868 - uses : actions/checkout@v3
69- if : ${{ startsWith(github.event.release.tag_name, 'v3 .') }}
69+ if : ${{ startsWith(github.event.release.tag_name, 'v4 .') }}
7070 - name : Set up Java and Maven
7171 uses : actions/setup-java@v3
7272 with :
@@ -96,13 +96,13 @@ jobs:
9696 branch : " v2"
9797 - name : Push changes v2
9898 uses : ad-m/github-push-action@master
99- if : ${{ endsWith (github.event.release.tag_name, 'f8-5.x' ) }}
99+ if : ${{ startsWith (github.event.release.tag_name, 'v3.' ) }}
100100 with :
101101 github_token : ${{ secrets.GITHUB_TOKEN }}
102- branch : " main-f8-5.x "
102+ branch : " v3 "
103103 - name : Push changes v3
104104 uses : ad-m/github-push-action@master
105- if : ${{ startsWith(github.event.release.tag_name, 'v3 .' ) }}
105+ if : ${{ startsWith(github.event.release.tag_name, 'v4 .' ) }}
106106 with :
107107 github_token : ${{ secrets.GITHUB_TOKEN }}
108108
0 commit comments