Commit 0b9fa7bb authored by Jerome Wu's avatar Jerome Wu

Fix mac java version

parent 550c78bb
......@@ -29,6 +29,12 @@ jobs:
macos-build:
runs-on: macos-latest
steps:
# java 6 is required for using closure compiler
- uses: actions/setup-java@v1
with:
java-version: '1.6' # The JDK version to make available on the path.
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to
- uses: actions/checkout@v2
with:
submodules: recursive
......@@ -38,12 +44,6 @@ jobs:
with:
path: ${{env.EM_CACHE_FOLDER}}
key: ${{env.EM_VERSION}}-${{ runner.os }}
# java 6 is required for using closure compiler
- uses: actions/setup-java@v1
with:
java-version: '6.0.119' # The JDK version to make available on the path.
java-package: jdk # (jre, jdk, or jdk+fx) - defaults to jdk
architecture: x64 # (x64 or x86) - defaults to
- uses: mymindstorm/setup-emsdk@v6
with:
version: ${{env.EM_VERSION}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment