File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,24 @@ jobs:
6767 ~/.cache/unity3d
6868 key : Library-${{ inputs.unityVersion }}-${{ matrix.os }}
6969
70+ # --------------------------------------------------------------------- #
71+ - name : Skip Unity 2019 on Windows
72+ if : ${{ startsWith(inputs.unityVersion, '2019.') && matrix.os == 'windows' }}
73+ run : |
74+ echo "::notice::Unity 2019 on Windows doesn't support Docker test running - skipping tests"
75+ exit 0
76+ shell : bash
77+
7078 # --------------------------------------------------------------------- #
7179 - name : Generate custom image name
80+ if : ${{ !(startsWith(inputs.unityVersion, '2019.') && matrix.os == 'windows') }}
7281 id : custom_image
7382 run : |
7483 echo "image=unityci/editor:${{ matrix.os }}-${{ inputs.unityVersion }}-base-3" >> $GITHUB_OUTPUT
7584 shell : bash
7685
7786 - uses : game-ci/unity-test-runner@v4
87+ if : ${{ !(startsWith(inputs.unityVersion, '2019.') && matrix.os == 'windows') }}
7888 id : tests
7989 env :
8090 UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
92102
93103 # --------------------------------------------------------------------- #
94104 - uses : actions/upload-artifact@v4
95- if : always()
105+ if : ${{ always() && !(startsWith(inputs.unityVersion, '2019.') && matrix.os == 'windows') }}
96106 with :
97107 name : Test results for ${{ inputs.unityVersion }} ${{ inputs.testMode }} on ${{ matrix.os }}
98108 path : ${{ steps.tests.outputs.artifactsPath }}
You can’t perform that action at this time.
0 commit comments