From 8676ee88ecd725efd6e3d7ba5d0296913ae42f47 Mon Sep 17 00:00:00 2001 From: Charuka Tharindu Date: Wed, 19 Jul 2023 10:21:30 +0530 Subject: [PATCH] Update daily build to run on Java 17 --- .github/workflows/daily-build.yml | 8 ++++---- ballerina/build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml index 5f5dd49008..4162cb3d85 100644 --- a/.github/workflows/daily-build.yml +++ b/.github/workflows/daily-build.yml @@ -13,12 +13,12 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 + uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '11' + java-version: '17' - name: Get daily docker version id: version run: echo "::set-output name=version::$(date +'%Y-%m-%d')" diff --git a/ballerina/build.gradle b/ballerina/build.gradle index dfeaefd941..cb72445e23 100644 --- a/ballerina/build.gradle +++ b/ballerina/build.gradle @@ -168,7 +168,7 @@ task extractJreForMacArm(type: Copy) { task extractJreForWindows(type: Copy) { group = "extract_jre" - from zipTree { "${jreLocation}/ballerina-jre-windows-64-${ballerinaJreVersion}.zip" } + from zipTree { "${jreLocation}/ballerina-jre-win-64-${ballerinaJreVersion}.zip" } into("${buildDir}/target/extracted-jre-windows") } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 0ee9713588..4a71a623f6 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip