File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 3333jobs :
3434 build_desktop :
3535 name : build-macOS-unity${{ inputs.unity_version}}
36- runs-on : macos-latest
36+ runs-on : macos-13
3737 strategy :
3838 fail-fast : false
3939
5555 shell : bash
5656 run : echo "UNITY_EXE=${{ env.UNITY_ROOT_DIR }}/Unity.app/Contents/MacOS/Unity" >> $GITHUB_ENV
5757
58+ - name : Force Java 8
59+ shell : bash
60+ run : echo "JAVA_HOME=${JAVA_HOME_8_X64}" >> $GITHUB_ENV
61+
5862 # Build .unitypackage
5963 - run : ./gradlew buildPlugin --info
6064
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ jobs:
107107
108108 test_on_macos :
109109 name : test-macOS-unity${{ needs.check_and_prepare.outputs.unity_version }}
110- runs-on : macos-latest
110+ runs-on : macos-13
111111 needs : [check_and_prepare]
112112 strategy :
113113 fail-fast : false
@@ -128,6 +128,10 @@ jobs:
128128 shell : bash
129129 run : echo "UNITY_EXE=${{ env.UNITY_ROOT_DIR }}/Unity.app/Contents/MacOS/Unity" >> $GITHUB_ENV
130130
131+ - name : Force Java 8
132+ shell : bash
133+ run : echo "JAVA_HOME=${JAVA_HOME_8_X64}" >> $GITHUB_ENV
134+
131135 - name : Run tests
132136 shell : bash
133137 timeout-minutes : 60
You can’t perform that action at this time.
0 commit comments