Skip to content

Commit

Permalink
Add sleep after start job command
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkyjac committed Oct 22, 2024
1 parent 81ef6fa commit 146b3c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ jobs:
# Run the ASP.NET Core app as a background job
cd ./publish
Start-Job -ScriptBlock { dotnet ./${{ env.PROJECT_NAME }}.dll } -Name ${{ env.PROJECT_NAME }}
Start-Sleep -Seconds 10
Get-Job
Receive-Job -Name ${{ env.PROJECT_NAME }}
cd ../
Expand Down

0 comments on commit 146b3c9

Please sign in to comment.