ci: Upgrade setup-java@v1 to setup-java@v2 (#1829)

This commit is contained in:
Marc Rousavy 2023-09-23 15:38:49 +02:00 committed by GitHub
parent 2d96381b3e
commit 9dd91a4001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,9 +31,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup JDK 11 - name: Setup JDK 11
uses: actions/setup-java@v1 uses: actions/setup-java@v2
with: with:
distribution: 'zulu'
java-version: 11 java-version: 11
java-package: jdk
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path
@ -73,9 +75,11 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup JDK 11 - name: Setup JDK 11
uses: actions/setup-java@v1 uses: actions/setup-java@v2
with: with:
distribution: 'zulu'
java-version: 11 java-version: 11
java-package: jdk
- name: Get yarn cache directory path - name: Get yarn cache directory path
id: yarn-cache-dir-path id: yarn-cache-dir-path