From e5ff13901e81fcbc2a084c0415d7184a8708b25e Mon Sep 17 00:00:00 2001 From: Marcus Da Coregio Date: Thu, 7 Oct 2021 15:20:10 -0300 Subject: [PATCH] Switch workflows to use a JDK17 baseline Closes gh-10353 --- .../continuous-integration-workflow.yml | 28 +++++++++---------- .github/workflows/pr-build-workflow.yml | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index d3679cc30f..f9868aab19 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -29,8 +29,8 @@ jobs: name: Determine if should continue if: env.RUN_JOBS == 'true' run: echo "::set-output name=runjobs::true" - build_jdk_11: - name: Build JDK 11 + build_jdk_17: + name: Build JDK 17 needs: [prerequisites] strategy: matrix: @@ -39,10 +39,10 @@ jobs: if: needs.prerequisites.outputs.runjobs steps: - uses: actions/checkout@v2 - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Setup gradle user name run: | mkdir -p ~/.gradle @@ -68,7 +68,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Setup gradle user name run: | mkdir -p ~/.gradle @@ -89,7 +89,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Setup gradle user name run: | mkdir -p ~/.gradle @@ -110,7 +110,7 @@ jobs: - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Setup gradle user name run: | mkdir -p ~/.gradle @@ -123,14 +123,14 @@ jobs: ./gradlew check s101 -Ps101.licenseId="$STRUCTURE101_LICENSEID" --stacktrace deploy_artifacts: name: Deploy Artifacts - needs: [build_jdk_11, snapshot_tests, check_samples, check_tangles] + needs: [build_jdk_17, snapshot_tests, check_samples, check_tangles] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Setup gradle user name run: | mkdir -p ~/.gradle @@ -150,14 +150,14 @@ jobs: ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }} deploy_docs: name: Deploy Docs - needs: [build_jdk_11, snapshot_tests, check_samples, check_tangles] + needs: [build_jdk_17, snapshot_tests, check_samples, check_tangles] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Setup gradle user name run: | mkdir -p ~/.gradle @@ -174,14 +174,14 @@ jobs: DOCS_HOST: ${{ secrets.DOCS_HOST }} deploy_schema: name: Deploy Schema - needs: [build_jdk_11, snapshot_tests, check_samples, check_tangles] + needs: [build_jdk_17, snapshot_tests, check_samples, check_tangles] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Setup gradle user name run: | mkdir -p ~/.gradle @@ -198,7 +198,7 @@ jobs: DOCS_HOST: ${{ secrets.DOCS_HOST }} notify_result: name: Check for failures - needs: [build_jdk_11, snapshot_tests, check_samples, check_tangles, deploy_artifacts, deploy_docs, deploy_schema] + needs: [build_jdk_17, snapshot_tests, check_samples, check_tangles, deploy_artifacts, deploy_docs, deploy_schema] if: failure() runs-on: ubuntu-latest steps: diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index 0e7d5e7fdf..d9a5c57134 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -16,7 +16,7 @@ jobs: if: env.RUN_JOBS == 'true' uses: actions/setup-java@v1 with: - java-version: '11' + java-version: '17' - name: Cache Gradle packages if: env.RUN_JOBS == 'true' uses: actions/cache@v2