Skip to content

Commit 53d5c21

Browse files
committed
HSEARCH-5486 Use correct version of JDK in the GitHub workflow
1 parent 530f773 commit 53d5c21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/simple-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ env:
3838
MAVEN_ARGS: "-e -B --settings .github/mvn-settings.xml -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.count=3"
3939
jobs:
4040
build:
41-
name: Build and test on Java 11
41+
name: Build and test on Java 17
4242
runs-on: ubuntu-latest
4343
# Ignore dependabot PRs; we'll batch dependency upgrades manually in a single PR before we test them.
4444
if: github.actor != 'dependabot[bot]'
4545
steps:
4646
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
47-
- name: Set up Java 11
47+
- name: Set up Java 17
4848
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # 4.7.0
4949
with:
50-
java-version: 11
50+
java-version: 17
5151
distribution: temurin
5252
- name: Get year/month for cache key
5353
id: get-date
@@ -71,7 +71,7 @@ jobs:
7171
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # 4.6.1
7272
if: failure()
7373
with:
74-
name: test-reports-java11
74+
name: test-reports-java17
7575
path: './**/*-reports/'
7676
- name: Docker cleanup
7777
if: always()

0 commit comments

Comments
 (0)