Skip to content

Commit

Permalink
Disable Gradle configuration cache when publishing.
Browse files Browse the repository at this point in the history
Signed-off-by: Kenneth J. Shackleton <[email protected]>
  • Loading branch information
kennethshackleton committed Jul 15, 2023
1 parent 2dfbb57 commit 49558f3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publication.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
distribution: temurin
java-version: 17
- name: 'Gradle'
run: echo 'org.gradle.caching=false' >> gradle.properties
run: |
echo 'org.gradle.caching=false' >> gradle.properties
echo 'org.gradle.configuration-cache=false' >> gradle.properties
- name: 'Unit tests'
run: ./gradlew :selekt-android:testDebugUnitTest :selekt-java:test
- name: 'Build Selekt'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
python-version: 3.8
- run: pip install mkdocs-material
- name: 'Gradle'
run: echo 'org.gradle.caching=false' >> gradle.properties
run: |
echo 'org.gradle.caching=false' >> gradle.properties
echo 'org.gradle.configuration-cache=false' >> gradle.properties
- name: 'Dokka'
run: |
./gradlew :dokkaGfmMultiModule :dokkaHtmlMultiModule --no-configuration-cache
./gradlew :dokkaGfmMultiModule :dokkaHtmlMultiModule
cp -R build/dokka/gfmMultiModule docs/kdoc
cp -R build/dokka/htmlMultiModule docs/kdoc/api
- name: 'Set version'
Expand Down

0 comments on commit 49558f3

Please sign in to comment.