Skip to content

Commit

Permalink
Fix CI warning about setup-java@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
srowen committed Apr 27, 2023
1 parent a24f930 commit c062955
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_java_17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 2 additions & 2 deletions .github/workflows/test_java_8_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c062955

Please sign in to comment.