Skip to content

Commit a2e2f35

Browse files
committed
Is it on the env?
1 parent 539bb6d commit a2e2f35

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/run-demo.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ jobs:
2929
$exePath = Get-ChildItem -Path "./build" -Filter "SentaurSurvivors-*.exe" -Recurse | Select-Object -First 1
3030
if ($exePath) {
3131
Write-Output "Found executable: $($exePath.FullName)"
32+
Write-Output "SENTRY_DSN is set: $(![string]::IsNullOrEmpty($env:SENTRY_DSN))"
33+
Write-Output "SENTRY_DSN length: $($env:SENTRY_DSN.Length)"
3234
$startTime = Get-Date
33-
Start-Process -FilePath $exePath -Wait -PassThru -NoNewWindow
35+
Start-Process -FilePath $exePath -Wait -PassThru -NoNewWindow -Environment @{
36+
SENTRY_DSN = $env:SENTRY_DSN
37+
}
3438
$endTime = Get-Date
3539
$duration = $endTime - $startTime
3640
Write-Output "Game finished in $($duration.ToString('hh\:mm\:ss'))"

0 commit comments

Comments
 (0)