Skip to content

Commit

Permalink
build(github): Disable the Gradle configuration cache when releasing
Browse files Browse the repository at this point in the history
Publishing artifacts does not work with the configuration cache yet, see
[1].

[1]: gradle/gradle#22779

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Feb 15, 2024
1 parent acb7fe6 commit 283dc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 283dc6d

Please sign in to comment.