Skip to content

Commit

Permalink
Fix publish
Browse files Browse the repository at this point in the history
  • Loading branch information
thohng committed Jul 20, 2023
1 parent 01f1955 commit 9e05108
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .azure/pipelines/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,8 @@ steps:
- script: dotnet build --configuration $(buildConfiguration)
displayName: "dotnet build $(buildConfiguration)"

- script: dotnet publish EchoServiceApi -o ./artifacts/echoServiceApi/ --configuration $(buildConfiguration) --no-build
- script: |
dotnet publish EchoServiceApi --configuration $(buildConfiguration) --no-build -f net6.0 --no-build -o artifacts/net6.0/app
dotnet publish EchoServiceApi --configuration $(buildConfiguration) --no-build -f net7.0 --no-build -o artifacts/net7.0/app
dotnet publish EchoServiceApi --configuration $(buildConfiguration) --no-build -f net8.0 --no-build -o artifacts/net8.0/app
displayName: "dotnet publish $(buildConfiguration)"

0 comments on commit 9e05108

Please sign in to comment.