Skip to content

Commit bf76d6d

Browse files
authored
ci: support for v4 (#1460)
1 parent 4f52a6e commit bf76d6d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
pull_request:
1111
paths-ignore:
1212
- 'docs/**'
13-
branches: [ main, main-f8-5.x, v1, v2, next ]
13+
branches: [ main, v1, v2, v3, next ]
1414
workflow_dispatch:
1515
jobs:
1616
check_format_and_unit_tests:

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

.github/workflows/snapshot-releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
push:
1111
paths-ignore:
1212
- 'docs/**'
13-
branches: [ main, main-f8-5.x, v1, v2, next ]
13+
branches: [ main, v1, v2, v3, next ]
1414
workflow_dispatch:
1515
jobs:
1616
test:

0 commit comments

Comments
 (0)