Skip to content

Commit

Permalink
CI: use different action to install Scala on Mac OS
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Nov 20, 2020
1 parent f2af2f0 commit e49dcbf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,18 @@ jobs:
with:
python-version: 3.8

- name: Set up JDK 11
- name: Install Java + Scala (Linux/Windows)
if: matrix.os == 'ubuntu' || matrix.os == 'windows'
uses: actions/setup-java@v1
with:
java-version: 11

- name: Install Java + Scala (Mac OS)
if: matrix.os == 'macos'
uses: olafurpg/setup-scala@v5
with:
java-version: openjdk@1.11

- name: Install (Ubuntu)
if: matrix.os == 'ubuntu'
run: |
Expand Down

0 comments on commit e49dcbf

Please sign in to comment.