Skip to content

Commit 8aa05f3

Browse files
debus step
1 parent 15af94b commit 8aa05f3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/unity-build.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,20 @@ jobs:
4141
# Updated artifact name for the web build
4242
name: build-WebGL
4343
# Updated path to the WebGL build folder
44-
path: build/WebGL
44+
path: build/WebGL
45+
46+
47+
# ADD THIS DEBUGGING STEP
48+
- name: 🤫 Check if Secret is Loaded
49+
run: |
50+
if [ -z "${{ secrets.UNITY_LICENSE }}" ]; then
51+
echo "❌ ERROR: UNITY_LICENSE secret is NOT set or is empty!"
52+
exit 1
53+
else
54+
echo "✅ SUCCESS: UNITY_LICENSE secret is loaded."
55+
fi
56+
57+
# YOUR EXISTING BUILD STEP
58+
- name: Unity - Build
59+
uses: game-ci/unity-builder@v4
60+
# ... rest of your build step

0 commit comments

Comments
 (0)