Skip to content

Commit

Permalink
ci script update
Browse files Browse the repository at this point in the history
  • Loading branch information
stavroskasidis committed Feb 9, 2022
1 parent ad945b1 commit 223fcc0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/build-sample-apps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,12 @@ function Confirm-Process {
}
}

Write-Message "Cleaning ..."
dotnet clean ../sampleapps/BlazorHostedSampleApp/BlazorHostedSampleApp.sln -c Release
Confirm-PreviousCommand

Write-Message "Building ..."
Write-Message "Building Hosted Sample App ..."
dotnet publish ../sampleapps/BlazorHostedSampleApp/Server/BlazorHostedSampleApp.Server.csproj -c Release -o ../artifacts/sample-apps/BlazorHostedSampleApp
Confirm-PreviousCommand

Write-Message "Building Hosted PWA Sample App ..."
dotnet publish ../sampleapps/BlazorHostedSamplePwa/Server/BlazorHostedSamplePwa.Server.csproj -c Release -o ../artifacts/sample-apps/BlazorHostedSamplePwa
Confirm-PreviousCommand

Write-Message "Build completed successfully"

0 comments on commit 223fcc0

Please sign in to comment.