diff options
author | Goooler <wangzongler@gmail.com> | 2023-03-28 03:24:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 21:24:10 +0200 |
commit | 1acfb6051637c10034b09b3c15c562472fad68b3 (patch) | |
tree | a18637cff1c7881a91b343c41a68dc823c719c8e /.github/workflows/gh-actions-artifacts-snapshots.yml | |
parent | 9af0b307a14253a21d11d340a78dd9061abee359 (diff) | |
download | dokka-1acfb6051637c10034b09b3c15c562472fad68b3.tar.gz dokka-1acfb6051637c10034b09b3c15c562472fad68b3.tar.bz2 dokka-1acfb6051637c10034b09b3c15c562472fad68b3.zip |
Enable gradle-home-cache-cleanup (#2939)
For more information see https://github.com/gradle/gradle-build-action/blob/main/README.md#removing-unused-files-from-gradle-user-home-before-saving-to-cache
Diffstat (limited to '.github/workflows/gh-actions-artifacts-snapshots.yml')
-rw-r--r-- | .github/workflows/gh-actions-artifacts-snapshots.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/gh-actions-artifacts-snapshots.yml b/.github/workflows/gh-actions-artifacts-snapshots.yml index 99b00636..9f0a3402 100644 --- a/.github/workflows/gh-actions-artifacts-snapshots.yml +++ b/.github/workflows/gh-actions-artifacts-snapshots.yml @@ -23,9 +23,10 @@ jobs: - name: Document coroutines uses: gradle/gradle-build-action@v2 with: + gradle-home-cache-cleanup: true arguments: :integration-tests:gradle:integrationTest --tests org.jetbrains.dokka.it.gradle.kotlin.CoroutinesGradleIntegrationTest --stacktrace env: - DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/coroutines + DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/coroutines - name: Copy files to GitHub Actions Artifacts uses: actions/upload-artifact@v3 with: @@ -49,6 +50,7 @@ jobs: - name: Document serialization uses: gradle/gradle-build-action@v2 with: + gradle-home-cache-cleanup: true arguments: :integration-tests:gradle:integrationTest --tests org.jetbrains.dokka.it.gradle.kotlin.SerializationGradleIntegrationTest --stacktrace env: DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/serialization @@ -75,9 +77,10 @@ jobs: - name: Document biojava-core uses: gradle/gradle-build-action@v2 with: + gradle-home-cache-cleanup: true arguments: :integration-tests:maven:integrationTest --tests org.jetbrains.dokka.it.maven.BiojavaIntegrationTest --stacktrace env: - DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/biojava + DOKKA_TEST_OUTPUT_PATH: /home/runner/work/dokka/biojava - name: Copy files to GitHub Actions Artifacts uses: actions/upload-artifact@v3 with: |