Skip to content

Commit a04bdea

Browse files
authored
feat: cicd for client v5.x releases (#1456)
1 parent 7ac430e commit a04bdea

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
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, v1, v2, next ]
13+
branches: [ main, main-f8-5.x, v1, v2, next ]
1414
workflow_dispatch:
1515
jobs:
1616
check_format_and_unit_tests:

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
if: ${{ startsWith(github.event.release.tag_name, 'v2.') }}
1717
with:
1818
ref: "v2"
19+
- uses: actions/checkout@v3
20+
if: ${{ endsWith(github.event.release.tag_name, 'f8-5.x') }}
21+
with:
22+
ref: "main-f8-5.x"
1923
- uses: actions/checkout@v3
2024
if: ${{ startsWith(github.event.release.tag_name, 'v3.') }}
2125
- name: Set up Java and Maven
@@ -57,6 +61,10 @@ jobs:
5761
if: ${{ startsWith(github.event.release.tag_name, 'v2.') }}
5862
with:
5963
ref: "v2"
64+
- uses: actions/checkout@v3
65+
if: ${{ endsWith(github.event.release.tag_name, 'f8-5.x') }}
66+
with:
67+
ref: "main-f8-5.x"
6068
- uses: actions/checkout@v3
6169
if: ${{ startsWith(github.event.release.tag_name, 'v3.') }}
6270
- name: Set up Java and Maven
@@ -86,6 +94,12 @@ jobs:
8694
with:
8795
github_token: ${{ secrets.GITHUB_TOKEN }}
8896
branch: "v2"
97+
- name: Push changes v2
98+
uses: ad-m/github-push-action@master
99+
if: ${{ endsWith(github.event.release.tag_name, 'f8-5.x') }}
100+
with:
101+
github_token: ${{ secrets.GITHUB_TOKEN }}
102+
branch: "main-f8-5.x"
89103
- name: Push changes v3
90104
uses: ad-m/github-push-action@master
91105
if: ${{ startsWith(github.event.release.tag_name, 'v3.' ) }}

.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, v1, v2, next ]
13+
branches: [ main, main-f8-5.x, v1, v2, next ]
1414
workflow_dispatch:
1515
jobs:
1616
test:

0 commit comments

Comments
 (0)