diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/check.yml | 1 | ||||
-rw-r--r-- | .github/workflows/dokka-examples.yml | 7 | ||||
-rw-r--r-- | .github/workflows/gh-actions-artifacts-snapshots.yml | 3 | ||||
-rw-r--r-- | .github/workflows/gh-pages-examples.yml | 4 | ||||
-rw-r--r-- | .github/workflows/gh-pages.yml | 1 | ||||
-rw-r--r-- | .github/workflows/gradle-test.pr.yml | 2 | ||||
-rw-r--r-- | .github/workflows/s3-snapshots.yml | 4 |
7 files changed, 20 insertions, 2 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 04b3cb72..c6f169dc 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,6 +17,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 with: arguments: apiCheck --stacktrace diff --git a/.github/workflows/dokka-examples.yml b/.github/workflows/dokka-examples.yml index f6b673b5..1e99f499 100644 --- a/.github/workflows/dokka-examples.yml +++ b/.github/workflows/dokka-examples.yml @@ -27,6 +27,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 - run: ./gradlew build --no-daemon --stacktrace working-directory: ${{ matrix.projects }} @@ -55,6 +56,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 - run: ./gradlew dokkaHtml --no-daemon --stacktrace working-directory: ${{ matrix.projects }} @@ -77,6 +79,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 - run: ./gradlew ${{ matrix.tasks }} --no-daemon --stacktrace working-directory: examples/gradle/dokka-library-publishing-example @@ -103,6 +106,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 - run: ./gradlew ${{ matrix.task }} --no-daemon --stacktrace working-directory: ${{ matrix.dir }} @@ -123,6 +127,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - run: mvn compile dokka:dokka working-directory: examples/maven - if: steps.filter.outputs.examples_changed == 'true'
\ No newline at end of file + 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 3bac4340..e073dae3 100644 --- a/.github/workflows/gh-actions-artifacts-snapshots.yml +++ b/.github/workflows/gh-actions-artifacts-snapshots.yml @@ -19,6 +19,7 @@ jobs: with: distribution: 'zulu' java-version: 12 + cache: 'maven' - name: Document coroutines uses: gradle/gradle-build-action@v2 with: @@ -44,6 +45,7 @@ jobs: with: distribution: 'zulu' java-version: 12 + cache: 'maven' - name: Document serialization uses: gradle/gradle-build-action@v2 with: @@ -69,6 +71,7 @@ jobs: with: distribution: 'zulu' java-version: 12 + cache: 'maven' - name: Document biojava-core uses: gradle/gradle-build-action@v2 with: diff --git a/.github/workflows/gh-pages-examples.yml b/.github/workflows/gh-pages-examples.yml index 3edf2726..b5f3f13b 100644 --- a/.github/workflows/gh-pages-examples.yml +++ b/.github/workflows/gh-pages-examples.yml @@ -30,6 +30,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 - name: Build html run: ./gradlew dokkaHtml --no-daemon --stacktrace @@ -60,6 +61,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 - name: Build html run: ./gradlew dokkaHtmlMultiModule --no-daemon --stacktrace @@ -85,4 +87,4 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} keep_files: true publish_dir: ./public - full_commit_message: Publish examples
\ No newline at end of file + full_commit_message: Publish examples diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e2a66c91..9a744d38 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -26,6 +26,7 @@ jobs: with: distribution: 'zulu' java-version: 11 + cache: 'maven' - uses: gradle/gradle-build-action@v2 - name: Get current dokka version run: echo "DOKKA_VERSION=`./gradlew :properties | grep '^version:.*' | cut -d ' ' -f 2`" >> $GITHUB_ENV diff --git a/.github/workflows/gradle-test.pr.yml b/.github/workflows/gradle-test.pr.yml index f24bf477..1a40239c 100644 --- a/.github/workflows/gradle-test.pr.yml +++ b/.github/workflows/gradle-test.pr.yml @@ -14,6 +14,7 @@ jobs: with: distribution: 'zulu' java-version: ${{ matrix.version }} + cache: 'maven' - uses: gradle/gradle-build-action@v2 with: arguments: clean test --stacktrace @@ -30,6 +31,7 @@ jobs: with: distribution: 'zulu' java-version: ${{ matrix.version }} + cache: 'maven' - uses: gradle/gradle-build-action@v2 with: 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 fdfb3460..912beaf3 100644 --- a/.github/workflows/s3-snapshots.yml +++ b/.github/workflows/s3-snapshots.yml @@ -19,6 +19,7 @@ jobs: with: distribution: 'zulu' java-version: 12 + cache: 'maven' - name: Document stdlib uses: gradle/gradle-build-action@v2 with: @@ -48,6 +49,7 @@ jobs: with: distribution: 'zulu' java-version: 12 + cache: 'maven' - name: Document coroutines uses: gradle/gradle-build-action@v2 with: @@ -77,6 +79,7 @@ jobs: with: distribution: 'zulu' java-version: 12 + cache: 'maven' - name: Document serialization uses: gradle/gradle-build-action@v2 with: @@ -106,6 +109,7 @@ jobs: with: distribution: 'zulu' java-version: 12 + cache: 'maven' - name: Document biojava-core uses: gradle/gradle-build-action@v2 with: |