Update Java version in Github workflow (#4052)

Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/4052

Update to use Java 11 instead of 1.8.

Aim is to bring parity with the other existing workflows but more importantly fix the build as is broken at the moment.

Reviewed By: antonk52

Differential Revision: D39254936

fbshipit-source-id: c60332a288d9a671df5db0180fb501ddf185a075
This commit is contained in:
Lorenzo Blasa
2022-09-05 03:54:17 -07:00
committed by Facebook GitHub Bot
parent 6a9d54f93a
commit 23ed745105

View File

@@ -38,10 +38,10 @@ jobs:
- uses: actions/setup-node@v2.1.5 - uses: actions/setup-node@v2.1.5
with: with:
node-version: 14.x node-version: 14.x
- name: set up JDK 1.8 - name: set up JDK
uses: actions/setup-java@v1 uses: actions/setup-java@v1
with: with:
java-version: 1.8 java-version: 11
- name: Compute build cache - name: Compute build cache
run: ${GITHUB_WORKSPACE}/scripts/checksum-android.sh checksum-android.txt run: ${GITHUB_WORKSPACE}/scripts/checksum-android.sh checksum-android.txt
- uses: actions/cache@v2 - uses: actions/cache@v2