Skip to content

Commit

Permalink
Windows: test with openjdk11 instead of jre8
Browse files Browse the repository at this point in the history
  • Loading branch information
pachadotdev committed Apr 29, 2024
1 parent 9cb6de1 commit 661b50f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

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

- name: Install Java
- name: Install Java (Windows)
if: runner.os == 'Windows'
run: |
choco install jre8 --no-progress -y
choco install openjdk11 --no-progress -y
echo "JAVA_HOME=" >> $env:GITHUB_ENV
- name: Install dependencies
Expand Down

0 comments on commit 661b50f

Please sign in to comment.