Skip to content

Commit 5376c43

Browse files
committed
Drop symlink
1 parent ae03142 commit 5376c43

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/main.yml

+7-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Actions 😎
1+
name: Test Untiy
22

33
on: [push, pull_request]
44

@@ -21,17 +21,11 @@ jobs:
2121
restore-keys: |
2222
Library-
2323
24-
- name: copy dir to new dir
24+
- name: fix symlink issue
2525
run: |
26-
pwd
27-
echo "demo structure"
28-
find Demo~/
29-
echo "symlink"
30-
find . -type l -ls
31-
cp -dr ./Demo~/ ./project
32-
ls ./project
33-
rm -rf ./project/Assets/Plugins/backtrace-unity/Demo~
34-
find ./project
26+
rm ./Demo~/Assets/Plugins/backtrace-unity
27+
mkdir ./Demo~/Assets/Plugins/backtrace-unity
28+
cp -rf ./Android ./Editor ./iOS ./Runtime ./Tests ./Windows ./package.json ./Demo~/Assets/Plugins/backtrace-unity
3529
# Test
3630
- name: Run tests
3731
uses: game-ci/unity-test-runner@v4
@@ -40,7 +34,7 @@ jobs:
4034
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
4135
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
4236
with:
43-
projectPath: ./project
37+
projectPath: ./Demo~
4438

4539
# Build
4640
- name: Build project
@@ -50,7 +44,7 @@ jobs:
5044
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
5145
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
5246
with:
53-
projectPath: ./project
47+
projectPath: ./Demo~
5448
targetPlatform: WebGL
5549

5650
# Output

0 commit comments

Comments
 (0)