Skip to content

Commit

Permalink
Merge pull request #177 from microsoft/x
Browse files Browse the repository at this point in the history
x
  • Loading branch information
chgeuer authored Aug 17, 2023
2 parents 503415b + 2702c6d commit 23bec14
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/dotnetbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,17 @@ jobs:
- name: Build and Test (on Linux), then build a Windows release
working-directory: ./src
run: |
dotnet build --no-restore --configuration Release
dotnet test --no-build --configuration Release --verbosity normal
dotnet build --no-restore
dotnet test --no-build --verbosity normal
- name: Build and Publish ${{ matrix.application }} for Windows ZIP deployment
working-directory: ./src
run: |
cd ${{ matrix.application }}
dotnet publish --no-restore --configuration Release --os win --output publishFolder
dotnet publish \
-r win-x64 \
--self-contained true \
--configuration Release \
--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 23bec14

Please sign in to comment.