aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/apiCheck.yml3
-rw-r--r--.github/workflows/dokka-examples.yml15
-rw-r--r--.github/workflows/gh-pages-examples.yml3
-rw-r--r--.github/workflows/gh-pages.yml3
-rw-r--r--.github/workflows/gradle-test.pr.yml6
-rw-r--r--.github/workflows/s3-snapshots.yml9
6 files changed, 26 insertions, 13 deletions
diff --git a/.github/workflows/apiCheck.yml b/.github/workflows/apiCheck.yml
index 55fb3fbe..0e9c61d0 100644
--- a/.github/workflows/apiCheck.yml
+++ b/.github/workflows/apiCheck.yml
@@ -7,7 +7,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- run: ./gradlew apiCheck --stacktrace
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
diff --git a/.github/workflows/gh-pages-examples.yml b/.github/workflows/gh-pages-examples.yml
index 1931aaa7..9e87bb18 100644
--- a/.github/workflows/gh-pages-examples.yml
+++ b/.github/workflows/gh-pages-examples.yml
@@ -26,8 +26,9 @@ jobs:
examples_changed:
- 'examples/gradle/${{ matrix.projects }}/**'
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- name: Build html
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 25981de5..b4223d48 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -22,8 +22,9 @@ jobs:
- 'docs/**'
working-directory: ./dokka
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 11
- name: Get current dokka version
diff --git a/.github/workflows/gradle-test.pr.yml b/.github/workflows/gradle-test.pr.yml
index cacfdbb7..4bba5ce6 100644
--- a/.github/workflows/gradle-test.pr.yml
+++ b/.github/workflows/gradle-test.pr.yml
@@ -10,8 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: ${{ matrix.version }}
- run: ./gradlew clean test --stacktrace
@@ -23,7 +24,8 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: ${{ matrix.version }}
- run: ./gradlew clean test --stacktrace --no-daemon --parallel --max-workers=1
diff --git a/.github/workflows/s3-snapshots.yml b/.github/workflows/s3-snapshots.yml
index f698a0ee..ed64de7a 100644
--- a/.github/workflows/s3-snapshots.yml
+++ b/.github/workflows/s3-snapshots.yml
@@ -15,8 +15,9 @@ jobs:
with:
submodules: true
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 12
- name: Document stdlib
@@ -45,8 +46,9 @@ jobs:
with:
submodules: true
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 12
- name: Document serialization
@@ -75,8 +77,9 @@ jobs:
with:
submodules: true
- - uses: actions/setup-java@v1
+ - uses: actions/setup-java@v2
with:
+ distribution: 'zulu'
java-version: 12
- name: Document biojava-core