Skip to content

Commit

Permalink
Disable configuration cache for publication stages.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Jun 17, 2023
1 parent 361f811 commit 1979adb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
run: |
./gradlew \
-Prelease=false \
--no-configuration-cache \
publishMainPublicationToSonatypeRepository \
closeSonatypeStagingRepository
- name: 'Publish release to OSSRH'
Expand All @@ -59,5 +60,6 @@ jobs:
run: |
./gradlew \
-Prelease=true \
--no-configuration-cache \
publishMainPublicationToSonatypeRepository \
closeAndReleaseSonatypeStagingRepository
2 changes: 1 addition & 1 deletion .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: echo 'org.gradle.caching=false' >> gradle.properties
- name: 'Dokka'
run: |
./gradlew :dokkaGfmMultiModule :dokkaHtmlMultiModule
./gradlew :dokkaGfmMultiModule :dokkaHtmlMultiModule --no-configuration-cache
cp -R build/dokka/gfmMultiModule docs/kdoc
cp -R build/dokka/htmlMultiModule docs/kdoc/api
- name: 'Set version'
Expand Down

0 comments on commit 1979adb

Please sign in to comment.