Skip to content

Commit ad40416

Browse files
committed
#5 Trying somthing just to make the build happen
1 parent a112880 commit ad40416

File tree

2 files changed

+40
-1
lines changed

2 files changed

+40
-1
lines changed

.github/workflows/develop-branch.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,31 @@ jobs:
1515
uses: actions/checkout@v4
1616
with:
1717
lfs: true
18+
# Create Library and Build folder automatically, since they are excluded in the .gitignore
19+
- name: Create Library folder
20+
run: mkdir -p UnityProject/AR_Pool/Library
21+
22+
# Build folder
23+
- name: Create Build folder
24+
run: mkdir -p UnityProject/AR_Pool/Build
25+
26+
27+
# Remove Unnecessary Video Files
28+
- name: Remove Unnecessary Video Files
29+
run: find UnityProject/AR_Pool/Library/PackageCache -type f -name "*.mp4" -delete || true
30+
1831
# Cache
1932
- uses: actions/cache@v3
2033
with:
2134
path: UnityProject/AR_Pool/Library
2235
key: Library-${{ hashFiles('UnityProject/AR_Pool/Assets/**', 'UnityProject/AR_Pool/Packages/**', 'UnityProject/AR_Pool/ProjectSettings/**') }}
2336
restore-keys: |
2437
Library-
38+
39+
# Remove Unnecessary Video Files
40+
- name: Remove Unnecessary Video Files
41+
run: find UnityProject/AR_Pool/Library/PackageCache -type f -name "*.mp4" -delete || true
42+
2543
# Build
2644
- name: Build project
2745
uses: game-ci/unity-builder@v4
@@ -32,6 +50,12 @@ jobs:
3250
with:
3351
projectPath: UnityProject/AR_Pool
3452
targetPlatform: Android
53+
buildOutputPath: UnityProject/AR_Pool/Build
54+
55+
# Remove Unnecessary Video Files
56+
- name: Remove Unnecessary Video Files
57+
run: find UnityProject/AR_Pool/Library/PackageCache -type f -name "*.mp4" -delete || true
58+
3559
# Output
3660
- uses: actions/upload-artifact@v4
3761
with :

UnityProject/AR_Pool/.gitignore

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,19 @@ crashlytics-build.properties
7070

7171
# Temporary auto-generated Android Assets
7272
/[Aa]ssets/[Ss]treamingAssets/aa.meta
73-
/[Aa]ssets/[Ss]treamingAssets/aa/*
73+
/[Aa]ssets/[Ss]treamingAssets/aa/*
74+
75+
# Custom files
76+
*.mp4
77+
*.avi
78+
*.mov
79+
*.webm
80+
81+
*.mp4.meta
82+
*.mp4.meta.meta
83+
*.avi.meta
84+
*.avi.meta.meta
85+
*.mov.meta
86+
*.mov.meta.meta
87+
*.webm.meta
88+
*.webm.meta.meta

0 commit comments

Comments
 (0)