Skip to content

Commit d75db8c

Browse files
committed
win changes gha win
1 parent bfa73b7 commit d75db8c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/test-scripts.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,11 @@ jobs:
305305
306306
- name: Sync BrowserStack logs to workspace (Windows)
307307
if: always()
308-
shell: powershell
309308
run: |
310309
$dest = "${env:GITHUB_WORKSPACE}\bs-logs"
311310
New-Item -ItemType Directory -Force -Path $dest | Out-Null
312311
313-
$logPath = "${HOME}\.browserstack\NOW\logs"
312+
$logPath = "$env:USERPROFILE\.browserstack\NOW\logs"
314313
315314
if (Test-Path $logPath) {
316315
Write-Host "Copying logs from $logPath"
@@ -326,7 +325,7 @@ jobs:
326325
with:
327326
name: browserstack-logs-windows
328327
path: |
329-
C:\Users\runneradmin\.browserstack\NOW\logs\
328+
${{ github.workspace }}/bs-logs
330329
C:\Temp\run_test_*.log
331330
retention-days: 30
332331
if-no-files-found: ignore

0 commit comments

Comments
 (0)