aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/gh-pages.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-pages.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-pages.yml')
-rw-r--r--.github/workflows/gh-pages.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 8bb860fe..c62dc258 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -28,6 +28,8 @@ jobs:
java-version: 11
cache: 'maven'
- uses: gradle/gradle-build-action@v2
+ with:
+ gradle-home-cache-cleanup: true
- name: Get current dokka version
run: echo "DOKKA_VERSION=`./gradlew :properties | grep '^version:.*' | cut -d ' ' -f 2`" >> $GITHUB_ENV
if: github.event_name == 'release' || steps.filter.outputs.mkdocs_changed == 'true'