Skip to content

Commit

Permalink
Merge pull request #462 from kennethshackleton/publish-disable-config…
Browse files Browse the repository at this point in the history
…-cach

Disable Gradle configuration cache when publishing.
  • Loading branch information
kennethshackleton authored Jul 15, 2023
2 parents 2dfbb57 + 49558f3 commit d437069
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 d437069

Please sign in to comment.