aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/gh-actions-artifacts-snapshots.yml
diff options
context:
space:
mode:
authorGoooler <wangzongler@gmail.com>2023-03-28 03:24:10 +0800
committerGitHub <noreply@github.com>2023-03-27 21:24:10 +0200
commit1acfb6051637c10034b09b3c15c562472fad68b3 (patch)
treea18637cff1c7881a91b343c41a68dc823c719c8e /.github/workflows/gh-actions-artifacts-snapshots.yml
parent9af0b307a14253a21d11d340a78dd9061abee359 (diff)
downloaddokka-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.yml7
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: