Skip to content

Commit 0efa185

Browse files
authored
Misc QOL Updates and bug fixes (#505)
* Add caching for Unity Hub/Editor on MacOS. Add parameter to pin Unity Hub version on MacOS. Live output MacOS build log to console. Hid extraneous log outputs from git. Throw error when failures detected in log output. * Update pr template links * Add system to build Android Project. Update PR Template links. Fix missing types on functions. Cleanup mac-setup module installation * Switch to androidExportType instead of exportGoogleAndroidProject * Enforce minimum node version * Enforce node version minimum. Added yarn-audit-fix to dev dependencies and Updated package vulnerabilities. * Improve deprecation warning * Add android symbol type parameter. Change windows scripts to use $LastExitCode and not $?. Update tests. * Fix issues on android symbols for older unity versions. Change symbol default to public. Increase build test coverage of unity versions. * Remove 2018.1 from tests * Remove out variable declaration to support Unity 2018 in default build script. Remove <2019.3 versions of unity from windows builder as IL2CPP isn't supported until 2019.3. * Fix typo. Use reflection to set buildAppBundle as Unity 2018.2 doesn't support it * Add missing reflection using * Remove 2018-2019.3 unity versions from mac as they don't support IL2CPP. Fix app identifier for android in testproject * Fix android bundle id * Updated android identifier. Removed incompatible unity versions from tests. Add retry logic to windows as it seems to have licensing issues when so many runners start * Add timeout and continue on error
1 parent 8c9dcf0 commit 0efa185

32 files changed

+152247
-96146
lines changed

.github/pull_request_template.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
<!-- please check all items and add your own -->
88

9-
- [x] Read the contribution [guide](../CONTRIBUTING.md) and accept the [code](../CODE_OF_CONDUCT.md) of conduct
9+
- [x] Read the contribution [guide](https://github.com/game-ci/unity-builder/blob/main/CONTRIBUTING.md) and accept the
10+
[code](https://github.com/game-ci/unity-builder/blob/main/CODE_OF_CONDUCT.md) of conduct
1011
- [ ] Readme (updated or not needed)
1112
- [ ] Tests (added, updated or not needed)

.github/workflows/build-tests.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Builds
22

33
on:
4+
workflow_dispatch:
45
push: { branches: [main] }
56
pull_request:
67
paths-ignore:
@@ -45,12 +46,24 @@ jobs:
4546
projectPath:
4647
- test-project
4748
unityVersion:
48-
- 2019.2.11f1
49+
- 2018.3.14f1
50+
- 2018.4.36f1
51+
- 2019.1.14f1
52+
- 2019.2.21f1
4953
- 2019.3.15f1
54+
- 2019.4.40f1
55+
- 2020.1.17f1
56+
- 2020.2.7f1
57+
- 2020.3.44f1
58+
- 2021.1.28f1
59+
- 2021.2.19f1
60+
- 2021.3.18f1
61+
- 2022.1.24f1
62+
- 2022.2.6f1
5063
targetPlatform:
51-
- StandaloneOSX # Build a macOS standalone (Intel 64-bit).
52-
- StandaloneWindows64 # Build a Windows 64-bit standalone.
53-
- StandaloneLinux64 # Build a Linux 64-bit standalone.
64+
- StandaloneOSX # Build a macOS standalone (Intel 64-bit) with mono backend.
65+
- StandaloneWindows64 # Build a Windows 64-bit standalone with mono backend.
66+
- StandaloneLinux64 # Build a Linux 64-bit standalone with mono backend.
5467
- iOS # Build an iOS player.
5568
- Android # Build an Android .apk.
5669
- WebGL # WebGL.

.github/workflows/mac-build-tests.yml

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,36 @@
11
name: Mac Builds
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
78

89
env:
9-
UNITY_LICENSE: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root>\n <License id=\"Terms\">\n <MachineBindings>\n <Binding Key=\"1\" Value=\"576562626572264761624c65526f7578\"/>\n <Binding Key=\"2\" Value=\"576562626572264761624c65526f7578\"/>\n </MachineBindings>\n <MachineID Value=\"D7nTUnjNAmtsUMcnoyrqkgIbYdM=\"/>\n <SerialHash Value=\"2033b8ac3e6faa3742ca9f0bfae44d18f2a96b80\"/>\n <Features>\n <Feature Value=\"33\"/>\n <Feature Value=\"1\"/>\n <Feature Value=\"12\"/>\n <Feature Value=\"2\"/>\n <Feature Value=\"24\"/>\n <Feature Value=\"3\"/>\n <Feature Value=\"36\"/>\n <Feature Value=\"17\"/>\n <Feature Value=\"19\"/>\n <Feature Value=\"62\"/>\n </Features>\n <DeveloperData Value=\"AQAAAEY0LUJHUlgtWEQ0RS1aQ1dWLUM1SlctR0RIQg==\"/>\n <SerialMasked Value=\"F4-BGRX-XD4E-ZCWV-C5JW-XXXX\"/>\n <StartDate Value=\"2021-02-08T00:00:00\"/>\n <UpdateDate Value=\"2021-02-09T00:34:57\"/>\n <InitialActivationDate Value=\"2021-02-08T00:34:56\"/>\n <LicenseVersion Value=\"6.x\"/>\n <ClientProvidedVersion Value=\"2018.4.30f1\"/>\n <AlwaysOnline Value=\"false\"/>\n <Entitlements>\n <Entitlement Ns=\"unity_editor\" Tag=\"UnityPersonal\" Type=\"EDITOR\" ValidTo=\"9999-12-31T00:00:00\"/>\n <Entitlement Ns=\"unity_editor\" Tag=\"DarkSkin\" Type=\"EDITOR_FEATURE\" ValidTo=\"9999-12-31T00:00:00\"/>\n </Entitlements>\n </License>\n<Signature xmlns=\"http://www.w3.org/2000/09/xmldsig#\"><SignedInfo><CanonicalizationMethod Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments\"/><SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/><Reference URI=\"#Terms\"><Transforms><Transform Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"/></Transforms><DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><DigestValue>m0Db8UK+ktnOLJBtHybkfetpcKo=</DigestValue></Reference></SignedInfo><SignatureValue>o/pUbSQAukz7+ZYAWhnA0AJbIlyyCPL7bKVEM2lVqbrXt7cyey+umkCXamuOgsWPVUKBMkXtMH8L\n5etLmD0getWIhTGhzOnDCk+gtIPfL4jMo9tkEuOCROQAXCci23VFscKcrkB+3X6h4wEOtA2APhOY\nB+wvC794o8/82ffjP79aVAi57rp3Wmzx+9pe9yMwoJuljAy2sc2tIMgdQGWVmOGBpQm3JqsidyzI\nJWG2kjnc7pDXK9pwYzXoKiqUqqrut90d+kQqRyv7MSZXR50HFqD/LI69h68b7P8Bjo3bPXOhNXGR\n9YCoemH6EkfCJxp2gIjzjWW+l2Hj2EsFQi8YXw==</SignatureValue></Signature></root>"
10+
UNITY_LICENSE:
11+
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><root>\n <License
12+
id=\"Terms\">\n <MachineBindings>\n <Binding Key=\"1\"
13+
Value=\"576562626572264761624c65526f7578\"/>\n <Binding Key=\"2\"
14+
Value=\"576562626572264761624c65526f7578\"/>\n </MachineBindings>\n <MachineID
15+
Value=\"D7nTUnjNAmtsUMcnoyrqkgIbYdM=\"/>\n <SerialHash
16+
Value=\"2033b8ac3e6faa3742ca9f0bfae44d18f2a96b80\"/>\n <Features>\n <Feature
17+
Value=\"33\"/>\n <Feature Value=\"1\"/>\n <Feature Value=\"12\"/>\n <Feature
18+
Value=\"2\"/>\n <Feature Value=\"24\"/>\n <Feature Value=\"3\"/>\n <Feature
19+
Value=\"36\"/>\n <Feature Value=\"17\"/>\n <Feature Value=\"19\"/>\n <Feature
20+
Value=\"62\"/>\n </Features>\n <DeveloperData
21+
Value=\"AQAAAEY0LUJHUlgtWEQ0RS1aQ1dWLUM1SlctR0RIQg==\"/>\n <SerialMasked
22+
Value=\"F4-BGRX-XD4E-ZCWV-C5JW-XXXX\"/>\n <StartDate Value=\"2021-02-08T00:00:00\"/>\n <UpdateDate
23+
Value=\"2021-02-09T00:34:57\"/>\n <InitialActivationDate
24+
Value=\"2021-02-08T00:34:56\"/>\n <LicenseVersion Value=\"6.x\"/>\n <ClientProvidedVersion
25+
Value=\"2018.4.30f1\"/>\n <AlwaysOnline Value=\"false\"/>\n <Entitlements>\n <Entitlement
26+
Ns=\"unity_editor\" Tag=\"UnityPersonal\" Type=\"EDITOR\"
27+
ValidTo=\"9999-12-31T00:00:00\"/>\n <Entitlement Ns=\"unity_editor\" Tag=\"DarkSkin\"
28+
Type=\"EDITOR_FEATURE\" ValidTo=\"9999-12-31T00:00:00\"/>\n </Entitlements>\n </License>\n<Signature
29+
xmlns=\"http://www.w3.org/2000/09/xmldsig#\"><SignedInfo><CanonicalizationMethod
30+
Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments\"/><SignatureMethod
31+
Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/><Reference URI=\"#Terms\"><Transforms><Transform
32+
Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"/></Transforms><DigestMethod
33+
Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><DigestValue>m0Db8UK+ktnOLJBtHybkfetpcKo=</DigestValue></Reference></SignedInfo><SignatureValue>o/pUbSQAukz7+ZYAWhnA0AJbIlyyCPL7bKVEM2lVqbrXt7cyey+umkCXamuOgsWPVUKBMkXtMH8L\n5etLmD0getWIhTGhzOnDCk+gtIPfL4jMo9tkEuOCROQAXCci23VFscKcrkB+3X6h4wEOtA2APhOY\nB+wvC794o8/82ffjP79aVAi57rp3Wmzx+9pe9yMwoJuljAy2sc2tIMgdQGWVmOGBpQm3JqsidyzI\nJWG2kjnc7pDXK9pwYzXoKiqUqqrut90d+kQqRyv7MSZXR50HFqD/LI69h68b7P8Bjo3bPXOhNXGR\n9YCoemH6EkfCJxp2gIjzjWW+l2Hj2EsFQi8YXw==</SignatureValue></Signature></root>"
1034

1135
jobs:
1236
buildForAllPlatformsWindows:
@@ -18,7 +42,15 @@ jobs:
1842
projectPath:
1943
- test-project
2044
unityVersion:
21-
- 2020.3.24f1
45+
- 2019.4.40f1 # Minimum version for IL2CPP
46+
- 2020.1.17f1
47+
- 2020.2.7f1
48+
- 2020.3.44f1
49+
- 2021.1.28f1
50+
- 2021.2.19f1
51+
- 2021.3.18f1
52+
- 2022.1.24f1
53+
- 2022.2.6f1
2254
targetPlatform:
2355
- StandaloneOSX # Build a MacOS executable
2456

.github/workflows/windows-build-tests.yml

Lines changed: 83 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,36 @@
11
name: Windows Builds
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main
78

89
env:
9-
UNITY_LICENSE: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><root>\n <License id=\"Terms\">\n <MachineBindings>\n <Binding Key=\"1\" Value=\"576562626572264761624c65526f7578\"/>\n <Binding Key=\"2\" Value=\"576562626572264761624c65526f7578\"/>\n </MachineBindings>\n <MachineID Value=\"D7nTUnjNAmtsUMcnoyrqkgIbYdM=\"/>\n <SerialHash Value=\"2033b8ac3e6faa3742ca9f0bfae44d18f2a96b80\"/>\n <Features>\n <Feature Value=\"33\"/>\n <Feature Value=\"1\"/>\n <Feature Value=\"12\"/>\n <Feature Value=\"2\"/>\n <Feature Value=\"24\"/>\n <Feature Value=\"3\"/>\n <Feature Value=\"36\"/>\n <Feature Value=\"17\"/>\n <Feature Value=\"19\"/>\n <Feature Value=\"62\"/>\n </Features>\n <DeveloperData Value=\"AQAAAEY0LUJHUlgtWEQ0RS1aQ1dWLUM1SlctR0RIQg==\"/>\n <SerialMasked Value=\"F4-BGRX-XD4E-ZCWV-C5JW-XXXX\"/>\n <StartDate Value=\"2021-02-08T00:00:00\"/>\n <UpdateDate Value=\"2021-02-09T00:34:57\"/>\n <InitialActivationDate Value=\"2021-02-08T00:34:56\"/>\n <LicenseVersion Value=\"6.x\"/>\n <ClientProvidedVersion Value=\"2018.4.30f1\"/>\n <AlwaysOnline Value=\"false\"/>\n <Entitlements>\n <Entitlement Ns=\"unity_editor\" Tag=\"UnityPersonal\" Type=\"EDITOR\" ValidTo=\"9999-12-31T00:00:00\"/>\n <Entitlement Ns=\"unity_editor\" Tag=\"DarkSkin\" Type=\"EDITOR_FEATURE\" ValidTo=\"9999-12-31T00:00:00\"/>\n </Entitlements>\n </License>\n<Signature xmlns=\"http://www.w3.org/2000/09/xmldsig#\"><SignedInfo><CanonicalizationMethod Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments\"/><SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/><Reference URI=\"#Terms\"><Transforms><Transform Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"/></Transforms><DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><DigestValue>m0Db8UK+ktnOLJBtHybkfetpcKo=</DigestValue></Reference></SignedInfo><SignatureValue>o/pUbSQAukz7+ZYAWhnA0AJbIlyyCPL7bKVEM2lVqbrXt7cyey+umkCXamuOgsWPVUKBMkXtMH8L\n5etLmD0getWIhTGhzOnDCk+gtIPfL4jMo9tkEuOCROQAXCci23VFscKcrkB+3X6h4wEOtA2APhOY\nB+wvC794o8/82ffjP79aVAi57rp3Wmzx+9pe9yMwoJuljAy2sc2tIMgdQGWVmOGBpQm3JqsidyzI\nJWG2kjnc7pDXK9pwYzXoKiqUqqrut90d+kQqRyv7MSZXR50HFqD/LI69h68b7P8Bjo3bPXOhNXGR\n9YCoemH6EkfCJxp2gIjzjWW+l2Hj2EsFQi8YXw==</SignatureValue></Signature></root>"
10+
UNITY_LICENSE:
11+
"<?xml version=\"1.0\" encoding=\"UTF-8\"?><root>\n <License
12+
id=\"Terms\">\n <MachineBindings>\n <Binding Key=\"1\"
13+
Value=\"576562626572264761624c65526f7578\"/>\n <Binding Key=\"2\"
14+
Value=\"576562626572264761624c65526f7578\"/>\n </MachineBindings>\n <MachineID
15+
Value=\"D7nTUnjNAmtsUMcnoyrqkgIbYdM=\"/>\n <SerialHash
16+
Value=\"2033b8ac3e6faa3742ca9f0bfae44d18f2a96b80\"/>\n <Features>\n <Feature
17+
Value=\"33\"/>\n <Feature Value=\"1\"/>\n <Feature Value=\"12\"/>\n <Feature
18+
Value=\"2\"/>\n <Feature Value=\"24\"/>\n <Feature Value=\"3\"/>\n <Feature
19+
Value=\"36\"/>\n <Feature Value=\"17\"/>\n <Feature Value=\"19\"/>\n <Feature
20+
Value=\"62\"/>\n </Features>\n <DeveloperData
21+
Value=\"AQAAAEY0LUJHUlgtWEQ0RS1aQ1dWLUM1SlctR0RIQg==\"/>\n <SerialMasked
22+
Value=\"F4-BGRX-XD4E-ZCWV-C5JW-XXXX\"/>\n <StartDate Value=\"2021-02-08T00:00:00\"/>\n <UpdateDate
23+
Value=\"2021-02-09T00:34:57\"/>\n <InitialActivationDate
24+
Value=\"2021-02-08T00:34:56\"/>\n <LicenseVersion Value=\"6.x\"/>\n <ClientProvidedVersion
25+
Value=\"2018.4.30f1\"/>\n <AlwaysOnline Value=\"false\"/>\n <Entitlements>\n <Entitlement
26+
Ns=\"unity_editor\" Tag=\"UnityPersonal\" Type=\"EDITOR\"
27+
ValidTo=\"9999-12-31T00:00:00\"/>\n <Entitlement Ns=\"unity_editor\" Tag=\"DarkSkin\"
28+
Type=\"EDITOR_FEATURE\" ValidTo=\"9999-12-31T00:00:00\"/>\n </Entitlements>\n </License>\n<Signature
29+
xmlns=\"http://www.w3.org/2000/09/xmldsig#\"><SignedInfo><CanonicalizationMethod
30+
Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments\"/><SignatureMethod
31+
Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/><Reference URI=\"#Terms\"><Transforms><Transform
32+
Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"/></Transforms><DigestMethod
33+
Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/><DigestValue>m0Db8UK+ktnOLJBtHybkfetpcKo=</DigestValue></Reference></SignedInfo><SignatureValue>o/pUbSQAukz7+ZYAWhnA0AJbIlyyCPL7bKVEM2lVqbrXt7cyey+umkCXamuOgsWPVUKBMkXtMH8L\n5etLmD0getWIhTGhzOnDCk+gtIPfL4jMo9tkEuOCROQAXCci23VFscKcrkB+3X6h4wEOtA2APhOY\nB+wvC794o8/82ffjP79aVAi57rp3Wmzx+9pe9yMwoJuljAy2sc2tIMgdQGWVmOGBpQm3JqsidyzI\nJWG2kjnc7pDXK9pwYzXoKiqUqqrut90d+kQqRyv7MSZXR50HFqD/LI69h68b7P8Bjo3bPXOhNXGR\n9YCoemH6EkfCJxp2gIjzjWW+l2Hj2EsFQi8YXw==</SignatureValue></Signature></root>"
1034

1135
jobs:
1236
buildForAllPlatformsWindows:
@@ -18,7 +42,14 @@ jobs:
1842
projectPath:
1943
- test-project
2044
unityVersion:
21-
- 2020.3.24f1
45+
- 2019.3.15f1 # Minimum version for IL2CPP
46+
- 2019.4.40f1
47+
- 2020.1.17f1
48+
- 2020.2.7f1
49+
- 2020.3.44f1
50+
- 2021.3.18f1 # 2021.1 and 2021.2 seem to have IL2CPP issues
51+
- 2022.1.24f1
52+
- 2022.2.6f1
2253
targetPlatform:
2354
- StandaloneWindows64 # Build a Windows 64-bit standalone.
2455
- StandaloneWindows # Build a Windows 32-bit standalone.
@@ -54,7 +85,56 @@ jobs:
5485
###########################
5586
# Build #
5687
###########################
57-
- uses: ./
88+
- name: Build
89+
uses: ./
90+
id: build-1
91+
continue-on-error: true
92+
timeout-minutes: 60
93+
env:
94+
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
95+
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
96+
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
97+
with:
98+
projectPath: ${{ matrix.projectPath }}
99+
unityVersion: ${{ matrix.unityVersion }}
100+
targetPlatform: ${{ matrix.targetPlatform }}
101+
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue
102+
allowDirtyBuild: true
103+
# We use dirty build because we are replacing the default project settings file above
104+
105+
- name: Sleep for Retry
106+
if: ${{ steps.build-1.outcome == 'failure' }}
107+
run: |
108+
Start-Sleep -s 120
109+
110+
- name: Build Retry 1
111+
uses: ./
112+
id: build-2
113+
continue-on-error: true
114+
timeout-minutes: 60
115+
if: steps.build-1.outcome == 'failure'
116+
env:
117+
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
118+
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
119+
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
120+
with:
121+
projectPath: ${{ matrix.projectPath }}
122+
unityVersion: ${{ matrix.unityVersion }}
123+
targetPlatform: ${{ matrix.targetPlatform }}
124+
customParameters: -profile SomeProfile -someBoolean -someValue exampleValue
125+
allowDirtyBuild: true
126+
# We use dirty build because we are replacing the default project settings file above
127+
128+
- name: Sleep for Retry
129+
if: ${{ steps.build-1.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
130+
run: |
131+
Start-Sleep -s 240
132+
133+
- name: Build Retry 2
134+
uses: ./
135+
id: build-3
136+
timeout-minutes: 60
137+
if: ${{ steps.build-1.outcome == 'failure' && steps.build-2.outcome == 'failure' }}
58138
env:
59139
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
60140
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

action.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ inputs:
2222
buildName:
2323
required: false
2424
default: ''
25-
description: 'Name of the build.'
25+
description: 'Name of the build. Should not include a file extension.'
2626
buildsPath:
2727
required: false
2828
default: ''
@@ -50,7 +50,12 @@ inputs:
5050
androidAppBundle:
5151
required: false
5252
default: 'false'
53-
description: 'Whether to build .aab instead of .apk'
53+
description: '[Deprecated] Use androidExportType instead. Whether to build .aab instead of .apk'
54+
androidExportType:
55+
required: false
56+
description:
57+
'The android export type. Should be androidPackage for apk, androidAppBundle for aab, or androidStudioProject for
58+
an android studio project.'
5459
androidKeystoreName:
5560
required: false
5661
default: ''
@@ -75,9 +80,13 @@ inputs:
7580
required: false
7681
default: ''
7782
description: 'The android target API level.'
83+
androidSymbolType:
84+
required: false
85+
default: 'none'
86+
description: 'The android symbol type to export. Should be "none", "public" or "debugging".'
7887
sshAgent:
7988
required: false
80-
default: ''
89+
default: 'public'
8190
description: 'SSH Agent path to forward to the container'
8291
gitPrivateToken:
8392
required: false
@@ -187,6 +196,17 @@ inputs:
187196
description:
188197
'[CloudRunner] Whether or not to watch the build to the end. Can be used for especially long running jobs e.g
189198
imports or self-hosted ephemeral runners.'
199+
cacheUnityInstallationOnMac:
200+
default: 'false'
201+
required: false
202+
description: 'Whether to cache the Unity hub and editor installation on MacOS'
203+
unityHubVersionOnMac:
204+
default: ''
205+
required: false
206+
description:
207+
'The version of Unity Hub to install on MacOS (e.g. 3.4.0). Defaults to latest available on brew if empty string
208+
or nothing is specified.'
209+
190210
outputs:
191211
volume:
192212
description: 'The Persistent Volume (PV) where the build artifacts have been stored by Kubernetes'

0 commit comments

Comments
 (0)