Skip to content
This repository was archived by the owner on Aug 11, 2024. It is now read-only.

Commit 4b827e7

Browse files
* xrtk/[email protected] - updated node from 16 -> 20 * update npm packages * updated concurrency * save updates * added ability to specify editor arch (for apple silicon editor installs) * updated docs * remove dead code * remove x86_64 as default
1 parent d981b42 commit 4b827e7

File tree

8 files changed

+24455
-697
lines changed

8 files changed

+24455
-697
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
UNITY_PROJECT_PATH: ''
1717

1818
concurrency:
19-
group: ${{ github.ref }}
19+
group: ${{ github.workflow }}-${{ github.ref }}
2020

2121
jobs:
2222
validate:

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,11 @@ jobs:
4040
- uses: actions/checkout@v4
4141

4242
- id: unity-setup
43-
uses: xrtk/unity-setup@v7.3
43+
uses: xrtk/unity-setup@v7.4
4444
with:
45-
build-targets: ${{ matrix.build-targets }} #Optional, overrides the default platform specific module installs.
46-
#version-file-path: 'ProjectSettings/ProjectVersion.txt' # Optional
45+
build-targets: ${{ matrix.build-targets }} # Optional, specify the build targets to install
46+
version-file-path: 'ProjectSettings/ProjectVersion.txt' # Optional, specify a path to the unity project version text file
47+
architecture: 'arm64' # Optional, specify the architecture to install (x86_64 or arm64)
4748

4849
- run: |
4950
echo "${{ env.UNITY_EDITOR_PATH }}"

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ inputs:
1414
description: 'Optional, Additional modules to install with the editor (i.e "webgl android lumin")'
1515
required: false
1616
default: ''
17+
architecture:
18+
description: 'Optional, specify the architecture to install (x86_64 or arm64)'
19+
required: false
20+
default: ''
21+
1722
runs:
18-
using: 'node16'
23+
using: 'node20'
1924
main: 'dist/index.js'

0 commit comments

Comments
 (0)