diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/check.yml | 1 | ||||
-rw-r--r-- | .github/workflows/dokka-examples.yml | 8 | ||||
-rw-r--r-- | .github/workflows/gh-actions-artifacts-snapshots.yml | 7 | ||||
-rw-r--r-- | .github/workflows/gh-pages-examples.yml | 4 | ||||
-rw-r--r-- | .github/workflows/gh-pages.yml | 2 | ||||
-rw-r--r-- | .github/workflows/gradle-test.pr.yml | 2 | ||||
-rw-r--r-- | .github/workflows/s3-snapshots.yml | 3 |
7 files changed, 25 insertions, 2 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index a6475749..de47bf24 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -24,4 +24,5 @@ jobs: cache: 'maven' - uses: gradle/gradle-build-action@v2 with: + gradle-home-cache-cleanup: true arguments: apiCheck --stacktrace diff --git a/.github/workflows/dokka-examples.yml b/.github/workflows/dokka-examples.yml index e8782c1c..797cf5bc 100644 --- a/.github/workflows/dokka-examples.yml +++ b/.github/workflows/dokka-examples.yml @@ -33,6 +33,8 @@ jobs: java-version: 11 cache: 'maven' - uses: gradle/gradle-build-action@v2 + with: + gradle-home-cache-cleanup: true - run: ./gradlew build --no-daemon --stacktrace working-directory: ${{ matrix.projects }} if: steps.filter.outputs.examples_changed == 'true' @@ -62,6 +64,8 @@ jobs: java-version: 11 cache: 'maven' - uses: gradle/gradle-build-action@v2 + with: + gradle-home-cache-cleanup: true - run: ./gradlew dokkaHtml --no-daemon --stacktrace working-directory: ${{ matrix.projects }} if: steps.filter.outputs.examples_changed == 'true' @@ -85,6 +89,8 @@ jobs: java-version: 11 cache: 'maven' - uses: gradle/gradle-build-action@v2 + with: + gradle-home-cache-cleanup: true - run: ./gradlew ${{ matrix.tasks }} --no-daemon --stacktrace working-directory: examples/gradle/dokka-library-publishing-example if: steps.filter.outputs.examples_changed == 'true' @@ -110,6 +116,8 @@ jobs: java-version: 11 cache: 'maven' - uses: gradle/gradle-build-action@v2 + with: + gradle-home-cache-cleanup: true - run: ./gradlew ${{ matrix.task }} --no-daemon --stacktrace working-directory: ${{ matrix.dir }} if: steps.filter.outputs.examples_changed == 'true' 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: diff --git a/.github/workflows/gh-pages-examples.yml b/.github/workflows/gh-pages-examples.yml index 38d1a416..fd8ddd0f 100644 --- a/.github/workflows/gh-pages-examples.yml +++ b/.github/workflows/gh-pages-examples.yml @@ -32,6 +32,8 @@ jobs: java-version: 11 cache: 'maven' - uses: gradle/gradle-build-action@v2 + with: + gradle-home-cache-cleanup: true - name: Build html run: ./gradlew dokkaHtml --no-daemon --stacktrace working-directory: examples/gradle/${{ matrix.projects }} @@ -66,6 +68,8 @@ jobs: java-version: 11 cache: 'maven' - uses: gradle/gradle-build-action@v2 + with: + gradle-home-cache-cleanup: true - name: Build html run: ./gradlew dokkaHtmlMultiModule --no-daemon --stacktrace working-directory: examples/gradle/${{ matrix.projects }} 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' diff --git a/.github/workflows/gradle-test.pr.yml b/.github/workflows/gradle-test.pr.yml index 743182bb..97390b6c 100644 --- a/.github/workflows/gradle-test.pr.yml +++ b/.github/workflows/gradle-test.pr.yml @@ -23,6 +23,7 @@ jobs: env: ORG_GRADLE_PROJECT_org.jetbrains.dokka.javaToolchain.test: ${{ matrix.javaVersion }} with: + gradle-home-cache-cleanup: true arguments: clean test --stacktrace test-windows: @@ -42,4 +43,5 @@ jobs: env: ORG_GRADLE_PROJECT_org.jetbrains.dokka.javaToolchain.test: ${{ matrix.javaVersion }} with: + gradle-home-cache-cleanup: true arguments: clean test --stacktrace --no-daemon --parallel --max-workers=1 diff --git a/.github/workflows/s3-snapshots.yml b/.github/workflows/s3-snapshots.yml index 6a170211..1576c60d 100644 --- a/.github/workflows/s3-snapshots.yml +++ b/.github/workflows/s3-snapshots.yml @@ -23,6 +23,7 @@ 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 @@ -53,6 +54,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 @@ -83,6 +85,7 @@ 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 |