mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Update readme, prepare for v0.2
This commit is contained in:
parent
23f2c2c0fa
commit
75fc07ef3c
17
README.md
17
README.md
@ -42,16 +42,18 @@ jobs:
|
||||
steps:
|
||||
```
|
||||
|
||||
Activate Unity in a step using the
|
||||
[Unity Activate](https://github.com/marketplace/actions/unity-activate)
|
||||
action.
|
||||
|
||||
Configure the builder as follows:
|
||||
|
||||
```yaml
|
||||
# Configure builder
|
||||
- name: Build project
|
||||
id: buildStep
|
||||
uses: webbertakken/unity-builder@v0.1 # WIP (only webgl for now)
|
||||
uses: webbertakken/unity-builder@v0.2 # WIP (only webgl for now)
|
||||
env:
|
||||
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
|
||||
|
||||
# Optional: Path to your project, leave blank for "./"
|
||||
UNITY_PROJECT_PATH: path/to/your/project
|
||||
|
||||
@ -64,10 +66,13 @@ Configure the builder as follows:
|
||||
# Target platform for your build
|
||||
BUILD_TARGET: WebGL
|
||||
|
||||
# Optional: <StaticBuildClass.StaticMethod>, defaults to Builder.BuildProject
|
||||
# Optional: <StaticBuildClass.StaticMethod>
|
||||
BUILD_COMMAND: ""
|
||||
```
|
||||
|
||||
> _**Note:** By default the enabled scenes from the
|
||||
project's settings will be built._
|
||||
|
||||
You use the id to **upload your built files** like so:
|
||||
|
||||
```yaml
|
||||
@ -79,6 +84,10 @@ You use the id to **upload your built files** like so:
|
||||
path: ${{ steps.buildStep.outputs.allBuildsPath }}
|
||||
```
|
||||
|
||||
Return the Unity license in a final step using the
|
||||
[Unity Return License](https://github.com/marketplace/actions/unity-return-license)
|
||||
action.
|
||||
|
||||
Commit and push your workflow definition.
|
||||
|
||||
## More actions
|
||||
|
Loading…
Reference in New Issue
Block a user