Skip to content

Commit

Permalink
Bump actions/setup-java to version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
scordio committed Apr 5, 2021
1 parent 3b380f5 commit 14cd172
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}

- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11

# Initializes the CodeQL tools for scanning.
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cross-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- name: Cache Maven Repository
uses: actions/cache@v2
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache Maven Repository
uses: actions/cache@v2
Expand All @@ -35,8 +36,9 @@ jobs:
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: 11
- name: Cache Maven Repository
uses: actions/cache@v2
Expand Down

0 comments on commit 14cd172

Please sign in to comment.