aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/dokka-examples.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/dokka-examples.yml')
-rw-r--r--.github/workflows/dokka-examples.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/dokka-examples.yml b/.github/workflows/dokka-examples.yml
index 35fc5f92..bd15e404 100644
--- a/.github/workflows/dokka-examples.yml
+++ b/.github/workflows/dokka-examples.yml
@@ -23,8 +23,9 @@ jobs:
filters: |
examples_changed:
- '${{ matrix.projects }}/**'
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- run: ./gradlew build --no-daemon --stacktrace
working-directory: ${{ matrix.projects }}
@@ -49,8 +50,9 @@ jobs:
filters: |
examples_changed:
- '${{ matrix.projects }}/**'
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- run: ./gradlew dokkaHtml --no-daemon --stacktrace
working-directory: ${{ matrix.projects }}
@@ -69,8 +71,9 @@ jobs:
filters: |
examples_changed:
- 'examples/gradle/dokka-library-publishing-example/**'
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- run: ./gradlew ${{ matrix.tasks }} --no-daemon --stacktrace
working-directory: examples/gradle/dokka-library-publishing-example
@@ -93,8 +96,9 @@ jobs:
filters: |
examples_changed:
- '${{ matrix.dir }}/**'
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- run: ./gradlew ${{ matrix.task }} --no-daemon --stacktrace
working-directory: ${{ matrix.dir }}
@@ -111,8 +115,9 @@ jobs:
examples_changed:
- 'examples/maven/**'
working-directory: examples/maven
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- run: mvn compile dokka:dokka
working-directory: examples/maven