Skip to content

Commit b3445fc

Browse files
committed
Updated test workflow to move the project into subdir to make it pass
1 parent 07c8dbd commit b3445fc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ jobs:
2222
restore-keys: |
2323
Library-
2424
25+
# Move the package to a subdirectory
26+
- name: Move package to subdirectory
27+
run: |
28+
mkdir -p unity-package
29+
shopt -s extglob
30+
mv !(unity-package) unity-package/
31+
shopt -u extglob
32+
2533
# Test
2634
- name: Run tests
2735
uses: game-ci/unity-test-runner@v4
@@ -31,5 +39,6 @@ jobs:
3139
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
3240
with:
3341
packageMode: true
42+
projectPath: unity-package
3443
githubToken: ${{ secrets.GITHUB_TOKEN }}
3544
unityVersion: ${{ vars.UNITY_VERSION }}

0 commit comments

Comments
 (0)