25
25
echo "is_unity_license_set=$is_unity_license_set" >> $GITHUB_OUTPUT
26
26
27
27
activation :
28
- needs : [ checklicense]
28
+ needs : checklicense
29
29
if : needs.checklicense.outputs.is_unity_license_set == 'false'
30
30
name : Request manual activation file 🔑
31
31
runs-on : ubuntu-latest
42
42
path : ${{ steps.getManualLicenseFile.outputs.filePath }}
43
43
44
44
test :
45
- needs : [ checklicense]
45
+ needs : checklicense
46
46
if : needs.checklicense.outputs.is_unity_license_set == 'true'
47
47
name : Run all tests ✨
48
48
runs-on : ubuntu-latest
68
68
path : ${{ steps.testRunner.outputs.artifactsPath }}
69
69
70
70
build :
71
- needs : [ test]
71
+ needs : test
72
72
name : Build for ${{ matrix.targetPlatform }}
73
73
runs-on : ubuntu-latest
74
74
strategy :
99
99
name : Build-${{ matrix.targetPlatform }}
100
100
path : build
101
101
102
- buildWithMac :
103
- needs : [ build]
102
+ buildForMac :
103
+ needs : build
104
104
name : Build for ${{ matrix.targetPlatform }}
105
105
runs-on : macos-latest
106
106
strategy :
@@ -128,37 +128,8 @@ jobs:
128
128
name : Build-${{ matrix.targetPlatform }}
129
129
path : build
130
130
131
- buildWithWindows :
132
- needs : build
133
- name : Build for ${{ matrix.targetPlatform }}
134
- runs-on : windows-2019
135
- strategy :
136
- fail-fast : false
137
- matrix :
138
- targetPlatform :
139
- - WSAPlayer
140
- steps :
141
- - uses : actions/checkout@v3
142
- with :
143
- lfs : true
144
- - uses : actions/cache@v3
145
- with :
146
- path : Library
147
- key : Library-${{ matrix.targetPlatform }}
148
- - uses : game-ci/unity-builder@v2
149
- env :
150
- UNITY_LICENSE : ${{ secrets.UNITY_LICENSE }}
151
- UNITY_EMAIL : ${{ secrets.UNITY_EMAIL }}
152
- UNITY_PASSWORD : ${{ secrets.UNITY_PASSWORD }}
153
- with :
154
- targetPlatform : ${{ matrix.targetPlatform }}
155
- - uses : actions/upload-artifact@v3
156
- with :
157
- name : Build-${{ matrix.targetPlatform }}
158
- path : build
159
-
160
- buildWithWindows2 :
161
- needs : buildWithWindows
131
+ buildForWindows :
132
+ needs : buildForMac
162
133
name : Build for ${{ matrix.targetPlatform }}
163
134
runs-on : windows-2019
164
135
strategy :
@@ -167,6 +138,7 @@ jobs:
167
138
targetPlatform :
168
139
- StandaloneWindows
169
140
- StandaloneWindows64
141
+ - WSAPlayer
170
142
steps :
171
143
- uses : actions/checkout@v3
172
144
with :
0 commit comments