Skip to content

Commit

Permalink
fix: add debug path printing for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniol0012 committed Dec 10, 2024
1 parent 1614a14 commit c663bb4
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build-unity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,20 @@ jobs:
sudo mkdir -p /opt/Unity
sudo tar -xf Unity-2022.3.14f1.tar.xz -C /opt/Unity --strip-components=1
- name: Verify Unity Installation Directory
run: |
echo "Unity installed at:"
find /opt/Unity -type f -name "Unity" -exec echo {} \;
- name: Run Unity Build
run: |
/opt/Unity/Editor/Unity \
UNITY_EXECUTABLE=$(find /opt/Unity -type f -name "Unity")
if [ -z "$UNITY_EXECUTABLE" ]; then
echo "Unity executable not found."
exit 1
fi
echo "Using Unity executable at $UNITY_EXECUTABLE"
$UNITY_EXECUTABLE \
-batchmode \
-nographics \
-quit \
Expand Down

0 comments on commit c663bb4

Please sign in to comment.