Skip to content

Commit

Permalink
Add 3.7.x branch to the workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Violeta Georgieva <[email protected]>
  • Loading branch information
violetagg committed Feb 11, 2025
1 parent 0c8d207 commit ad6d09a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with:
fetch-depth: 0 #needed by spotless
- name: Setup JDK 11
if: contains('main', github.base_ref)
if: contains('main 3.7.x', github.base_ref)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
- name: Setup JDK 11
if: contains('main', github.base_ref)
if: contains('main 3.7.x', github.base_ref)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
java-version: 9.0.4
jdkFile: /opt/openjdk/java9/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz
- name: Setup Java 11
if: contains('main', matrix.branch)
if: contains('main 3.7.x', matrix.branch)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches:
# For branches, better to list them explicitly than regexp include.
# Older branches are triggered using workflows present there
- main
- 3.7.x
permissions: read-all

env:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
- name: Setup JDK 11
if: contains('main', github.base_ref)
if: contains('main 3.7.x', github.base_ref)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
- name: Setup JDK 11
if: contains('main', github.base_ref)
if: contains('main 3.7.x', github.base_ref)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
- name: Setup JDK 11
if: contains('main', github.base_ref)
if: contains('main 3.7.x', github.base_ref)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # tag=v4
- name: Setup JDK 11
if: contains('main', github.base_ref)
if: contains('main 3.7.x', github.base_ref)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
java-version: 9.0.4
jdkFile: /opt/openjdk/java9/OpenJDK9U-jdk_x64_linux_hotspot_9.0.4_11.tar.gz
- name: Setup Java 11
if: contains('main', matrix.branch)
if: contains('main 3.7.x', matrix.branch)
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # tag=v3
with:
distribution: 'temurin'
Expand Down

0 comments on commit ad6d09a

Please sign in to comment.