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

Commit

Permalink
Browse files Browse the repository at this point in the history
* xrtk/[email protected]

- added VisionOS platform target to module map
  • Loading branch information
StephenHodgson authored Apr 29, 2024
1 parent adb6833 commit 75bee72
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- os: windows-latest
build-targets: 'StandaloneWindows64 Android iOS'
- os: macos-14
build-targets: 'StandaloneOSX Android iOS'
build-targets: 'StandaloneOSX Android iOS VisionOS'
- os: macos-latest
build-targets: 'StandaloneOSX Android iOS'

Expand All @@ -45,6 +45,7 @@ jobs:
with:
repository: xrtk/com.xrtk.test
path: test-project
ref: development

- uses: ./ # xrtk/unity-setup
id: unity-setup
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
- uses: actions/checkout@v4

- id: unity-setup
uses: xrtk/unity-setup@v7.4
uses: xrtk/unity-setup@v7
with:
build-targets: ${{ matrix.build-targets }} # Optional, specify the build targets to install
version-file-path: 'ProjectSettings/ProjectVersion.txt' # Optional, specify a path to the unity project version text file
architecture: 'arm64' # Optional, specify the architecture to install (x86_64 or arm64)
# architecture: 'arm64' # Optional, specify the architecture to install (x86_64 or arm64)

- run: |
echo "${{ env.UNITY_EDITOR_PATH }}"
Expand Down
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28109,6 +28109,7 @@ const main = async () => {
"tvOS": "appletv",
"StandaloneLinux64": "linux-il2cpp",
"WebGL": "webgl",
"VisionOS": "visionos"
};
} else if (osType == 'Windows_NT') {
moduleMap = {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unity-setup",
"version": "7.5.1",
"version": "7.5.2",
"description": "An atomic GitHub action to download and install the Unity Editor for runners.",
"main": "src/index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const main = async () => {
"tvOS": "appletv",
"StandaloneLinux64": "linux-il2cpp",
"WebGL": "webgl",
"VisionOS": "visionos"
};
} else if (osType == 'Windows_NT') {
moduleMap = {
Expand Down

0 comments on commit 75bee72

Please sign in to comment.