Skip to content

Commit

Permalink
Bump actions/setup-java from v1 to v2 (#7621)
Browse files Browse the repository at this point in the history
* Bump actions/setup-java from v1 to v2

Bumps [actions/setup-java](https://github.com/actions/setup-java) from v1 to v2.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v1...8764a52)

Signed-off-by: dependabot[bot] <support@github.com>

* Add distribution: 'adopt'

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Kopp <kopp.dev@gmail.com>
  • Loading branch information
dependabot[bot] and koppor authored Apr 12, 2021
1 parent c06966d commit e3094ac
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/check-outdated-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
- name: Look for outdated dependencies
run: ./gradlew -q checkOutdatedDependencies
- name: Report issues
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,16 @@ jobs:
id: gitversion
uses: gittools/actions/gitversion/execute@v0.9.9
- name: Set up JDK 15 for linux and mac
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 15
distribution: 'adopt'
if: matrix.os != 'windows-latest'
- name: Set up JDK 14 for windows
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
if: matrix.os == 'windows-latest'
- name: Restore gradle cache
uses: actions/cache@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/refresh-journal-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
persist-credentials: false
fetch-depth: 0
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
- uses: actions/cache@v1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests-fetchers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
- uses: actions/cache@v1
name: Restore gradle cache
with:
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
- uses: actions/cache@v1
name: Restore gradle cache
with:
Expand Down Expand Up @@ -60,9 +61,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
- uses: actions/cache@v1
name: Restore gradle cache
with:
Expand Down Expand Up @@ -104,9 +106,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
- uses: actions/cache@v1
name: Restore gradle cache
with:
Expand Down Expand Up @@ -150,9 +153,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
- uses: actions/cache@v1
name: Restore gradle cache
with:
Expand Down Expand Up @@ -200,9 +204,10 @@ jobs:
- name: Checkout source
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 14
distribution: 'adopt'
- uses: actions/cache@v1
name: Restore gradle cache
with:
Expand Down

0 comments on commit e3094ac

Please sign in to comment.