Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/setup-java from v1 to v2 #831

Merged
merged 3 commits into from
Apr 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
# actions/checkout v1.* is needed for correct codecov upload, see github issues for details
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -96,9 +97,10 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/detekt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/diktat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
# set this to 0 to fetch all tags too and be able to use them later
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/diktat_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- name: Cache local Maven repository (shared with regular CI build)
uses: actions/cache@v2
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/metrics_for_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ jobs:
steps:
- uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
# keys are the same as in build_and_test workflow to make cache available for PRs
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- name: Checkout
uses: actions/[email protected]
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 1.11
distribution: zulu
java-version: 11
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand Down