Skip to content

Commit b034283

Browse files
committed
#5 Added build step in workflow file
1 parent 47daa4b commit b034283

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/develop-branch.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
name: Developer CI/CD for testing purposes
23

34
on:
@@ -18,16 +19,21 @@ jobs:
1819
- uses: actions/cache@v3
1920
with:
2021
path: UnityProject/AR_Pool/Library
21-
key: UnityProject/AR_Pool/Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
22+
key: Library-${{ hashFiles('UnityProject/AR_Pool/Assets/**', 'UnityProject/AR_Pool/Packages/**', 'UnityProject/AR_Pool/ProjectSettings/**') }}
2223
restore-keys: |
2324
Library-
24-
#Build
25+
# Build
2526
- name: Build project
2627
uses: game-ci/unity-builder@v4
2728
env:
2829
UNITY_LICENSE: ${{secrets.UNITY_LICENSE}}
2930
UNITY_EMAIL: ${{secrets.UNITY_EMAIL}}
3031
UNITY_PASSWORD: ${{secrets.UNITY_PASSWORD}}
3132
with:
33+
projectPath: UnityProject/AR_Pool
3234
targetPlatform: Android
33-
projectPath: UnityProject/AR_Pool
35+
# Output
36+
- uses: actions/upload-artifact@v3
37+
with :
38+
name: Build
39+
path: UnityProject/AR_Pool/Build

0 commit comments

Comments
 (0)