From b27cee3e1a68faa25c375a7789a600a8f47ceb89 Mon Sep 17 00:00:00 2001 From: Gary O'Neall Date: Tue, 17 Dec 2024 12:19:43 -0800 Subject: [PATCH] Update Java versions in CI Updated to version 17. The 3.0.0 version of the LicenseListPublisher requires a later version of Java --- .github/workflows/deploy.yaml | 2 +- .github/workflows/validate.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 1dd6270b2..4902683c7 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' - uses: actions/checkout@v4 - name: Fetch changes for git diff id: fetchdiff diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 2cf2421fb..bf0a5b246 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -24,9 +24,10 @@ jobs: name: Validate canonical match runs-on: ubuntu-latest steps: - - uses: actions/setup-java@v1 + - uses: actions/setup-java@v3 with: - java-version: '11' + distribution: 'temurin' + java-version: '17' - uses: actions/checkout@v4 - name: Fetch changes for git diff id: fetchdiff