File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33
33
jobs :
34
34
build_desktop :
35
35
name : build-macOS-unity${{ inputs.unity_version}}
36
- runs-on : macos-latest
36
+ runs-on : macos-13
37
37
strategy :
38
38
fail-fast : false
39
39
55
55
shell : bash
56
56
run : echo "UNITY_EXE=${{ env.UNITY_ROOT_DIR }}/Unity.app/Contents/MacOS/Unity" >> $GITHUB_ENV
57
57
58
+ - name : Force Java 8
59
+ shell : bash
60
+ run : echo "JAVA_HOME=${JAVA_HOME_8_X64}" >> $GITHUB_ENV
61
+
58
62
# Build .unitypackage
59
63
- run : ./gradlew buildPlugin --info
60
64
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ jobs:
107
107
108
108
test_on_macos :
109
109
name : test-macOS-unity${{ needs.check_and_prepare.outputs.unity_version }}
110
- runs-on : macos-latest
110
+ runs-on : macos-13
111
111
needs : [check_and_prepare]
112
112
strategy :
113
113
fail-fast : false
@@ -128,6 +128,10 @@ jobs:
128
128
shell : bash
129
129
run : echo "UNITY_EXE=${{ env.UNITY_ROOT_DIR }}/Unity.app/Contents/MacOS/Unity" >> $GITHUB_ENV
130
130
131
+ - name : Force Java 8
132
+ shell : bash
133
+ run : echo "JAVA_HOME=${JAVA_HOME_8_X64}" >> $GITHUB_ENV
134
+
131
135
- name : Run tests
132
136
shell : bash
133
137
timeout-minutes : 60
You can’t perform that action at this time.
0 commit comments