Skip to content

Commit

Permalink
fixed a typo
Browse files Browse the repository at this point in the history
updated unity action to v3
updated readme
  • Loading branch information
StephenHodgson committed Nov 2, 2022
1 parent 81b9a3f commit 0640490
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,10 @@ jobs:
build-target: StandaloneLinux64

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
clean: true
# be sure to first checkout your repo

- name: Unity Build (${{ matrix.build-target }})
uses: xrtk/unity-build@v2
uses: xrtk/unity-build@v3
with:
build-target: ${{ matrix.build-target }}
```
10 changes: 5 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ inputs:
# Unity -buildTarget command line args https://docs.unity3d.com/Manual/CommandLineArguments.html
# StandaloneWindows64, WSAPlayer, StandaloneOSX, iOS, StandaloneLinux64, Android, Lumin, WebGL
default: ''
additional-valiate-args:
additional-validate-args:
description: 'Additional args to pass to validate command'
default: ''
additional-test-args:
Expand All @@ -27,15 +27,15 @@ runs:
name: Unity Editor Validation
uses: xrtk/unity-validate@v2

- uses: xrtk/unity-action@main
- uses: xrtk/unity-action@v3
name: Project Validation
with:
name: 'project-validation'
editor-path: '${{ env.editor-path }}'
project-path: '${{ env.project-path }}'
args: '-quit -batchmode -executeMethod XRTK.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject ${{ inputs.additional-valiate-args }}'
args: '-quit -batchmode -executeMethod XRTK.Editor.BuildPipeline.UnityPlayerBuildTools.ValidateProject ${{ inputs.additional-validate-args }}'

- uses: xrtk/unity-action@main
- uses: xrtk/unity-action@v3
name: '${{ inputs.build-target }}-Tests'
with:
name: '${{ inputs.build-target }}-Tests'
Expand All @@ -44,7 +44,7 @@ runs:
build-target: '${{ inputs.build-target }}'
args: '-batchmode -runEditorTests ${{ inputs.additional-test-args }}'

- uses: xrtk/unity-action@main
- uses: xrtk/unity-action@v3
name: '${{ inputs.build-target }}-Build'
with:
name: '${{ inputs.build-target }}-Build'
Expand Down

0 comments on commit 0640490

Please sign in to comment.