mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Fix CI warning about setup-java@v2
This commit is contained in:
parent
a24f93093e
commit
c062955c84
4
.github/workflows/test_java_17.yml
vendored
4
.github/workflows/test_java_17.yml
vendored
|
@ -14,10 +14,10 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
cache: 'maven'
|
||||
- name: Build with Maven
|
||||
run: mvn -nsu -B install
|
||||
|
|
4
.github/workflows/test_java_8_android.yml
vendored
4
.github/workflows/test_java_8_android.yml
vendored
|
@ -19,11 +19,11 @@ jobs:
|
|||
- name: Set up Android SDK
|
||||
run: if [ ! -d /tmp/android-sdk-linux/platforms ]; then curl -s https://storage.googleapis.com/zxing-build/android-sdk-linux.tar.bz2 | bunzip2 | tar xf - -C /tmp; else ls -l /tmp/android-sdk-linux; fi
|
||||
- name: Set up JDK 8
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '8'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
cache: 'maven'
|
||||
- name: Build with Maven
|
||||
run: mvn -nsu -B -Pjacoco install
|
||||
|
||||
|
|
Loading…
Reference in a new issue