File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 1- name : Test Windows Build
1+ name : Run Windows Build
22
33on :
44 workflow_run :
55 workflows : ["Build Sentaur Survivors"]
66 types :
77 - completed
8+ workflow_dispatch :
89
910jobs :
1011 test-windows :
@@ -23,12 +24,12 @@ jobs:
2324
2425 - name : Run Windows Build
2526 run : |
26- $exePath = Get-ChildItem -Path "./build" -Filter "*.exe" -Recurse | Select-Object -First 1
27+ $exePath = Get-ChildItem -Path "./build" -Filter "SentaurSurvivors- *.exe" -Recurse | Select-Object -First 1
2728 if ($exePath) {
2829 Write-Output "Found executable: $($exePath.FullName)"
2930 Start-Process -FilePath $exePath -ArgumentList "-dsn", "${{ secrets.DSN }}" -Wait -PassThru -NoNewWindow
3031 Write-Output "Build executed successfully"
3132 } else {
32- Write-Error "No executable found in build artifacts"
33+ Write-Error "No SentaurSurvivors executable found in build artifacts"
3334 exit 1
3435 }
You can’t perform that action at this time.
0 commit comments