Skip to content

Commit

Permalink
Merge pull request #176 from microsoft/f
Browse files Browse the repository at this point in the history
f
  • Loading branch information
chgeuer committed Aug 17, 2023
2 parents 2ad95dc + 00f3bac commit 503415b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/dotnetbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,13 @@ jobs:
- name: Build and Test (on Linux), then build a Windows release
working-directory: ./src
run: |
dotnet build --no-restore --configuration Debug
dotnet test --no-build --configuration Debug --verbosity normal
dotnet build --no-restore --configuration Release --os win
dotnet build --no-restore --configuration Release
dotnet test --no-build --configuration Release --verbosity normal
- name: Build and Publish ${{ matrix.application }} for Windows ZIP deployment
working-directory: ./src
run: |
cd ${{ matrix.application }}
dotnet publish --no-build --no-restore --configuration Release --os win --output publishFolder
dotnet publish --no-restore --configuration Release --os win --output publishFolder
cd publishFolder
zip -r ../zip-deploy-${{ matrix.application }}-win-x64.zip *
- name: Upload ${{ matrix.application }} build artifact
Expand Down

0 comments on commit 503415b

Please sign in to comment.