Skip to content

Commit

Permalink
Install Java 11 explicitly
Browse files Browse the repository at this point in the history
This fixes build errors on Windows and macOS.

It would seem that the compiler upgrade made this an issue within
the GitHub Actions environment.
  • Loading branch information
joeyparrish committed Nov 11, 2022
1 parent 1c5abb1 commit 7a4bba3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ jobs:
# Install a launcher that can execute a shell script to launch this
npm install karma-script-launcher --save-dev
# Some CI images (self-hosted or otherwise) don't have the minimum Java
# version necessary for the compiler (Java 11).
- uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11

- name: Build Player
run: python build/all.py

Expand Down

0 comments on commit 7a4bba3

Please sign in to comment.