Skip to content

Commit 4539e35

Browse files
committed
签出用反了
1 parent 4c316db commit 4539e35

File tree

4 files changed

+3
-52
lines changed

4 files changed

+3
-52
lines changed

.github/workflows/npm-run-electron.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,11 @@ jobs:
102102
103103
- name: npm run electron (auto-exit after 30min)
104104
run: |
105-
echo "======================================================================";
106-
echo "cd packages/gui";
107-
echo "--------------------";
108-
cd packages/gui;
109-
dir || ls -lah;
110-
111105
echo "======================================================================";
112106
echo "npm run electron with timeout";
113107
echo "--------------------";
114108
if [ "$RUNNER_OS" = "Windows" ]; then
115-
powershell ../../scripts/run-electron-with-timeout.ps1
109+
powershell _script/run-electron-with-timeout.ps1
116110
else
117-
bash ../../scripts/run-electron-with-timeout.sh
111+
bash _script/run-electron-with-timeout.sh
118112
fi
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ while ($timer.Elapsed.TotalSeconds -lt $TimeoutSeconds) {
1414
Write-Host "❌ 程序运行不正常"
1515
exit 1
1616
}
17-
Start-Sleep -Seconds 1
17+
Start-Sleep -Seconds 60
1818
}
1919

2020
if (!$process.HasExited) {

scripts/run-electron-with-timeout.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

0 commit comments

Comments
 (0)