Skip to content

Commit 661b50f

Browse files
committed
Windows: test with openjdk11 instead of jre8
1 parent 9cb6de1 commit 661b50f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/R-CMD-check.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ jobs:
4848
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
4949
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-
5050

51-
- name: Install Java
51+
- name: Install Java (Ubuntu)
5252
if: runner.os == 'Linux'
5353
run: sudo apt-get install -y default-jre-headless
5454

55-
- name: Install Java
55+
- name: Install Java (Windows)
5656
if: runner.os == 'Windows'
5757
run: |
58-
choco install jre8 --no-progress -y
58+
choco install openjdk11 --no-progress -y
5959
echo "JAVA_HOME=" >> $env:GITHUB_ENV
6060
6161
- name: Install dependencies

0 commit comments

Comments
 (0)