Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
1ee71ac
[email protected]
StephenHodgson Sep 27, 2025
e1bc40a
missing awaiter
StephenHodgson Sep 27, 2025
eca0227
print some info
StephenHodgson Sep 27, 2025
a534491
update unity-cli
StephenHodgson Sep 28, 2025
b241de4
update unity-cli
StephenHodgson Sep 28, 2025
9e157bb
manually set logging level to CI
StephenHodgson Sep 28, 2025
6c83973
build
StephenHodgson Sep 28, 2025
90d12fe
build
StephenHodgson Sep 28, 2025
03ad238
update unity-cli
StephenHodgson Sep 28, 2025
b72ef64
add auto-update-hub option
StephenHodgson Sep 28, 2025
02dba63
build
StephenHodgson Sep 28, 2025
73f7369
disable hub auto-update
StephenHodgson Sep 28, 2025
fc57bf3
only disable auto update when no modules are selected
StephenHodgson Sep 28, 2025
c28f952
update unity-cli
StephenHodgson Sep 28, 2025
72688e2
update unity-cli
StephenHodgson Sep 28, 2025
1acca3d
build
StephenHodgson Sep 28, 2025
58aed28
build
StephenHodgson Sep 28, 2025
e1939b5
update unity-cli
StephenHodgson Sep 28, 2025
fc21326
update unity-cli
StephenHodgson Sep 29, 2025
8a91762
bump up timout
StephenHodgson Sep 29, 2025
4b1988b
update unity-cli
StephenHodgson Sep 29, 2025
728f9db
update unity-cli
StephenHodgson Sep 29, 2025
b48defd
Merge branch 'main' into development
StephenHodgson Oct 3, 2025
6836f4a
update unity-cli
StephenHodgson Oct 3, 2025
c121f55
updated unity-cli
StephenHodgson Oct 3, 2025
766037d
update unity-cli
StephenHodgson Oct 4, 2025
f767740
update unity-cli
StephenHodgson Oct 5, 2025
07216d2
update unity-cli
StephenHodgson Oct 5, 2025
8ff49df
revert back to node 20 env
StephenHodgson Oct 5, 2025
5e2118f
revert node package
StephenHodgson Oct 6, 2025
b8163c2
roll back ncc
StephenHodgson Oct 6, 2025
6b5a846
update unity-cli
StephenHodgson Oct 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
permissions:
contents: read
timeout-minutes: 30
env:
UNITY_EDITORS: '' # set by the unity-setup action
UNITY_HUB_PATH: '' # set by the unity-setup action
Expand All @@ -30,6 +31,7 @@ jobs:
unity-version: ${{ matrix.unity-version }}
build-targets: ${{ matrix.build-targets }}
modules: ${{ matrix.modules }}
auto-update-hub: ${{ !contains(matrix.modules, 'None') }}
- run: |
echo 'UNITY_HUB_PATH: ${{ env.UNITY_HUB_PATH }}'
echo 'UNITY_EDITORS: ${{ env.UNITY_EDITORS }}'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ steps:
| `modules` | Modules to install with the editor. This list can be different per editor version. | false |
| `architecture` | Specify the architecture to install. Either `x86_64` or `arm64`. | false |
| `install-path` | Specify the path where Unity will be installed to. | false |
| `auto-update-hub` | Automatically update Unity Hub to the latest version before installing Unity Editors. Can be `true` or `false`. Default is `true`. | false |

### outputs

Expand Down
10 changes: 7 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'unity-setup'
name: unity-setup
description: A GitHub action for setting up the Unity Game Engine for CI/CD workflows.
branding:
color: blue
Expand Down Expand Up @@ -27,6 +27,10 @@ inputs:
install-path:
description: 'Specify the path where Unity will be installed to.'
required: false
auto-update-hub:
description: 'Automatically update Unity Hub to the latest version before installing Unity Editors. Can be `true` or `false`.'
required: false
default: 'true'
runs:
using: 'node20'
main: 'dist/index.js'
using: node20
main: dist/index.js
Loading