From 283dc6d64f68cffa9ca2ce6feace9416f1f21093 Mon Sep 17 00:00:00 2001 From: Sebastian Schuberth Date: Thu, 15 Feb 2024 09:23:44 +0100 Subject: [PATCH] build(github): Disable the Gradle configuration cache when releasing Publishing artifacts does not work with the configuration cache yet, see [1]. [1]: https://github.com/gradle/gradle/issues/22779 Signed-off-by: Sebastian Schuberth --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c2ff7dc3d8203..cba4dbebb26ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: ORG_GRADLE_PROJECT_RELEASE_SIGNING_ENABLED: true ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }} ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }} - run: ./gradlew publishAndReleaseToMavenCentral + run: ./gradlew -Porg.gradle.configuration-cache=false publishAndReleaseToMavenCentral - name: Build ORT Distributions run: ./gradlew :cli:distZip :helper-cli:distZip - name: Generate Release Notes