Skip to content

Commit 0bd45bf

Browse files
committed
[CI] Add 1.0.x branch to workflows
Signed-off-by: onobc <chris.bono@gmail.com>
1 parent cad5b72 commit 0bd45bf

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

.github/workflows/ci-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
branches:
66
- 'main'
7-
- '0.x'
7+
- '1.0.x'
88
paths-ignore:
99
- '.github/**'
1010

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ name: "CodeQL Advanced"
1313

1414
on:
1515
push:
16-
branches: [ "main", "0.x" ]
16+
branches: [ "main", "1.0.x" ]
1717
pull_request:
18-
branches: [ "main", "0.x" ]
18+
branches: [ "main", "1.0.x" ]
1919
schedule:
2020
- cron: '22 20 * * 2'
2121

.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
name: Deploy Jars
44
on:
55
push:
6-
branches: [ main ]
6+
branches:
7+
- 'main'
8+
- '1.0.x'
79
paths-ignore:
810
- '.github/**'
911

12+
1013
jobs:
1114
build:
1215
name: Build and Deploy On Push
@@ -16,7 +19,7 @@ jobs:
1619

1720
steps:
1821
- uses: actions/checkout@v4
19-
- name: Set up JDK 25 (main)
22+
- name: Set up JDK 25
2023
uses: actions/setup-java@v4
2124
with:
2225
java-version: '25'

.github/workflows/docs.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 5
22-
- name: Set up JDK 17 (0.x)
23-
if: startsWith(github.ref, 'refs/heads/0.x/')
24-
uses: actions/setup-java@v4
25-
with:
26-
java-version: '17'
27-
distribution: 'temurin'
28-
cache: maven
29-
- name: Set up JDK 25 (main)
30-
if: startsWith(github.ref, 'refs/heads/main/')
22+
- name: Set up JDK 25
3123
uses: actions/setup-java@v4
3224
with:
3325
java-version: '25'

0 commit comments

Comments
 (0)