Skip to content

Commit 3a2e374

Browse files
committed
Document new buildProfile config option
Relates to game-ci/unity-builder#674 Relates to game-ci/unity-builder#685
1 parent 92691c9 commit 3a2e374

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

docs/03-github/04-builder.mdx

+17-2
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,24 @@ _**required:** `false`_ _**default:** `""`_
162162
#### projectPath
163163

164164
Specify the path to your Unity project to be built. The path should be relative to the root of your
165-
project.
165+
repository.
166166

167-
_**required:** `false`_ _**default:** `<your project root>`_
167+
_**required:** `false`_ _**default:** `<your repository root>`_
168+
169+
#### buildProfile
170+
171+
Provide a path to a build profile. The path should be relative to the root of your Unity project
172+
(i.e. relative to `projectPath`). See the
173+
[Unity documentation](https://docs.unity3d.com/Manual/build-profiles.html) for more information on
174+
using build profiles.
175+
176+
```yaml
177+
- uses: game-ci/unity-builder@v4
178+
with:
179+
buildProfile: 'Assets/Settings/Build Profiles/WindowsDemo.asset'
180+
```
181+
182+
_**required:** `false`_ _**default:** Unity will do a platform build for the `targetPlatform`._
168183

169184
#### buildName
170185

0 commit comments

Comments
 (0)