diff --git a/.github/workflows/build-dev-branches.yml b/.github/workflows/build-dev-branches.yml index e5e4631..4adeb2f 100644 --- a/.github/workflows/build-dev-branches.yml +++ b/.github/workflows/build-dev-branches.yml @@ -18,7 +18,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 17 + java-version: 17.0.7 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle @@ -42,7 +42,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 17 + java-version: 17.0.7 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index ac6e339..bbe0804 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -17,7 +17,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 17 + java-version: 17.0.7 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/central-publish.yml b/.github/workflows/central-publish.yml index b06b9b3..6847673 100644 --- a/.github/workflows/central-publish.yml +++ b/.github/workflows/central-publish.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 17 + java-version: 17.0.7 - name: Build with Gradle env: packageUser: ${{ github.actor }} diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml index 6637b58..e1c1cba 100644 --- a/.github/workflows/daily-build.yml +++ b/.github/workflows/daily-build.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 17 + java-version: 17.0.7 # Build the project with Gradle - name: Build with Gradle diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 55a5885..f6b4df0 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -13,7 +13,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 17 + java-version: 17.0.7 - name: Set version env variable run: echo "VERSION=$((grep -w 'version' | cut -d= -f2) < gradle.properties | rev | cut --complement -d- -f1 | rev)" >> $GITHUB_ENV - name: Pre release depenency version update diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index bfaa44e..071f238 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -12,7 +12,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 17 + java-version: 17.0.7 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle @@ -36,7 +36,7 @@ jobs: uses: actions/setup-java@v3 with: distribution: adopt - java-version: 17 + java-version: 17.0.7 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/prometheus-extension-ballerina/Ballerina.toml b/prometheus-extension-ballerina/Ballerina.toml index 2e5de48..eecf47e 100644 --- a/prometheus-extension-ballerina/Ballerina.toml +++ b/prometheus-extension-ballerina/Ballerina.toml @@ -20,5 +20,5 @@ name = "prometheus" version = "@toml.version@" distribution = "2201.7.0" -[platform.java11] +[platform.java17] graalvmCompatible = true diff --git a/prometheus-extension-ballerina/build.gradle b/prometheus-extension-ballerina/build.gradle index 0c344cc..b655741 100644 --- a/prometheus-extension-ballerina/build.gradle +++ b/prometheus-extension-ballerina/build.gradle @@ -194,6 +194,7 @@ task ballerinaBuild { outputs.dir artifactCacheParent outputs.dir artifactBallerinaDocs outputs.dir artifactLibParent + doNotTrackState("build needs to run every time") } task createArtifactZip(type: Zip) {