@@ -17,11 +17,11 @@ jobs:
17
17
with :
18
18
ref : " v2"
19
19
- uses : actions/checkout@v3
20
- if : ${{ endsWith (github.event.release.tag_name, 'f8-5.x ') }}
20
+ if : ${{ startsWith (github.event.release.tag_name, 'v3. ') }}
21
21
with :
22
- ref : " main-f8-5.x "
22
+ ref : " v3 "
23
23
- uses : actions/checkout@v3
24
- if : ${{ startsWith(github.event.release.tag_name, 'v3 .') }}
24
+ if : ${{ startsWith(github.event.release.tag_name, 'v4 .') }}
25
25
- name : Set up Java and Maven
26
26
uses : actions/setup-java@v3
27
27
with :
@@ -62,11 +62,11 @@ jobs:
62
62
with :
63
63
ref : " v2"
64
64
- uses : actions/checkout@v3
65
- if : ${{ endsWith (github.event.release.tag_name, 'f8-5.x ') }}
65
+ if : ${{ startsWith (github.event.release.tag_name, 'v3. ') }}
66
66
with :
67
- ref : " main-f8-5.x "
67
+ ref : " v3 "
68
68
- uses : actions/checkout@v3
69
- if : ${{ startsWith(github.event.release.tag_name, 'v3 .') }}
69
+ if : ${{ startsWith(github.event.release.tag_name, 'v4 .') }}
70
70
- name : Set up Java and Maven
71
71
uses : actions/setup-java@v3
72
72
with :
@@ -96,13 +96,13 @@ jobs:
96
96
branch : " v2"
97
97
- name : Push changes v2
98
98
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.' ) }}
100
100
with :
101
101
github_token : ${{ secrets.GITHUB_TOKEN }}
102
- branch : " main-f8-5.x "
102
+ branch : " v3 "
103
103
- name : Push changes v3
104
104
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 .' ) }}
106
106
with :
107
107
github_token : ${{ secrets.GITHUB_TOKEN }}
108
108
0 commit comments