aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGoooler <wangzongler@gmail.com>2021-09-22 15:19:19 +0800
committerGitHub <noreply@github.com>2021-09-22 09:19:19 +0200
commit19b782c33aea9cf4d94a8d6721ff9f11124586c6 (patch)
tree143ae5c3beab60bb80c0cd6045e37f81cea58a80 /.github/workflows
parent1ada27414d66e58b19e20a968834356e81dd26b2 (diff)
downloaddokka-19b782c33aea9cf4d94a8d6721ff9f11124586c6.tar.gz
dokka-19b782c33aea9cf4d94a8d6721ff9f11124586c6.tar.bz2
dokka-19b782c33aea9cf4d94a8d6721ff9f11124586c6.zip
Bump setup-java github actions to v2 (#2151)
Diffstat (limited to '.github/workflows')
-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