Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5011177

Browse files
Set the Mac GHA runners to 13 instead of latest (#686)
* Pin GHA workflows to macos-13 * Force the GHA runners to use Java 8
1 parent 2853d24 commit 5011177

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

‎.github/workflows/build_macos.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333
jobs:
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

@@ -55,6 +55,10 @@ jobs:
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

‎.github/workflows/test.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /