Skip to content

Commit 1e1fa6d

Browse files
committed
#5 Work on workflow. Bumped packages to build v72 to match the current OS.
1 parent ebc96f5 commit 1e1fa6d

File tree

3 files changed

+59
-27
lines changed

3 files changed

+59
-27
lines changed

.github/workflows/develop-branch.yml

Lines changed: 37 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,43 @@ on:
44
push:
55
branches-ignore:
66
- main
7-
env:
8-
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE}}
97
jobs:
10-
checkLicense:
11-
name: Check for the Unity license ☑️
8+
build:
9+
name: Build AR_Pool_Application
1210
runs-on: ubuntu-latest
1311
steps:
14-
- name: Fail - No license ☠️
15-
if: ${{ !startsWith(env.UNITY_LICENSE, '<') }}
16-
run: exit 1
12+
# Checkout
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
with:
16+
lfs: true
17+
# Cache
18+
- uses: actions/cache@v3
19+
with:
20+
path: UnityProject/AR_Pool/Library
21+
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
22+
restore-keys: |
23+
Library-
24+
#Build
25+
- name: Build project
26+
uses: game-ci/unity-builder@v4
27+
env:
28+
UNITY_LICENSE: ${{secrets.UNITY_LICENSE}}
29+
UNITY_EMAIL: ${{secrets.UNITY_EMAIL}}
30+
UNITY_PASSWORD: ${{secrets.UNITY_PASSWORD}}
31+
with:
32+
targetPlatform: Android
33+
34+
35+
36+
# env:
37+
# UNITY_LICENSE: ${{ secrets.UNITY_LICENSE}}
38+
# jobs:
39+
# checkLicense:
40+
# name: Check for the Unity license ☑️
41+
# runs-on: ubuntu-latest
42+
# steps:
43+
# - name: Fail - No license ☠️
44+
# if: ${{ !startsWith(env.UNITY_LICENSE, '<') }}
45+
# run: exit 1
46+

UnityProject/AR_Pool/Packages/manifest.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"dependencies": {
3-
"com.meta.xr.sdk.all": "71.0.0",
3+
"com.meta.xr.mrutilitykit": "72.0.0",
4+
"com.meta.xr.sdk.all": "72.0.0",
45
"com.meta.xr.sdk.audio": "72.0.0",
56
"com.meta.xr.sdk.core": "72.0.0",
67
"com.meta.xr.sdk.interaction": "72.0.0",
8+
"com.meta.xr.sdk.interaction.ovr": "72.0.0",
79
"com.meta.xr.sdk.platform": "72.0.0",
810
"com.meta.xr.simulator": "72.0.0",
911
"com.unity.ai.navigation": "2.0.5",

UnityProject/AR_Pool/Packages/packages-lock.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
22
"dependencies": {
33
"com.meta.xr.mrutilitykit": {
4-
"version": "71.0.0",
5-
"depth": 1,
4+
"version": "72.0.0",
5+
"depth": 0,
66
"source": "registry",
77
"dependencies": {
8-
"com.meta.xr.sdk.core": "71.0.0",
8+
"com.meta.xr.sdk.core": "72.0.0",
99
"com.unity.textmeshpro": "3.0.6",
1010
"com.unity.ai.navigation": "1.1.4",
1111
"com.unity.nuget.newtonsoft-json": "3.0.2"
1212
},
1313
"url": "https://packages.unity.com"
1414
},
1515
"com.meta.xr.sdk.all": {
16-
"version": "71.0.0",
16+
"version": "72.0.0",
1717
"depth": 0,
1818
"source": "registry",
1919
"dependencies": {
20-
"com.meta.xr.sdk.core": "71.0.0",
21-
"com.meta.xr.sdk.audio": "71.0.0",
20+
"com.meta.xr.sdk.core": "72.0.0",
21+
"com.meta.xr.sdk.audio": "72.0.0",
2222
"com.meta.xr.sdk.voice": "71.0.0",
23-
"com.meta.xr.simulator": "71.0.0",
24-
"com.meta.xr.sdk.haptics": "71.0.0",
25-
"com.meta.xr.mrutilitykit": "71.0.0",
26-
"com.meta.xr.sdk.platform": "71.0.0",
27-
"com.meta.xr.sdk.interaction": "71.0.0",
28-
"com.meta.xr.sdk.interaction.ovr": "71.0.0"
23+
"com.meta.xr.simulator": "72.0.0",
24+
"com.meta.xr.sdk.haptics": "72.0.0",
25+
"com.meta.xr.mrutilitykit": "72.0.0",
26+
"com.meta.xr.sdk.platform": "72.0.0",
27+
"com.meta.xr.sdk.interaction": "72.0.0",
28+
"com.meta.xr.sdk.interaction.ovr": "72.0.0"
2929
},
3030
"url": "https://packages.unity.com"
3131
},
@@ -44,11 +44,11 @@
4444
"url": "https://packages.unity.com"
4545
},
4646
"com.meta.xr.sdk.haptics": {
47-
"version": "71.0.0",
47+
"version": "72.0.0",
4848
"depth": 1,
4949
"source": "registry",
5050
"dependencies": {
51-
"com.meta.xr.sdk.core": "71.0.0"
51+
"com.meta.xr.sdk.core": "72.0.0"
5252
},
5353
"url": "https://packages.unity.com"
5454
},
@@ -63,12 +63,12 @@
6363
"url": "https://packages.unity.com"
6464
},
6565
"com.meta.xr.sdk.interaction.ovr": {
66-
"version": "71.0.0",
67-
"depth": 1,
66+
"version": "72.0.0",
67+
"depth": 0,
6868
"source": "registry",
6969
"dependencies": {
70-
"com.meta.xr.sdk.core": "71.0.0",
71-
"com.meta.xr.sdk.interaction": "71.0.0"
70+
"com.meta.xr.sdk.core": "72.0.0",
71+
"com.meta.xr.sdk.interaction": "72.0.0"
7272
},
7373
"url": "https://packages.unity.com"
7474
},
@@ -200,7 +200,7 @@
200200
},
201201
"com.unity.nuget.newtonsoft-json": {
202202
"version": "3.2.1",
203-
"depth": 2,
203+
"depth": 1,
204204
"source": "registry",
205205
"dependencies": {},
206206
"url": "https://packages.unity.com"

0 commit comments

Comments
 (0)