Skip to content

Commit 23bec14

Browse files
authored
Merge pull request #177 from microsoft/x
x
2 parents 503415b + 2702c6d commit 23bec14

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/dotnetbuild.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,17 @@ jobs:
4141
- name: Build and Test (on Linux), then build a Windows release
4242
working-directory: ./src
4343
run: |
44-
dotnet build --no-restore --configuration Release
45-
dotnet test --no-build --configuration Release --verbosity normal
44+
dotnet build --no-restore
45+
dotnet test --no-build --verbosity normal
4646
- name: Build and Publish ${{ matrix.application }} for Windows ZIP deployment
4747
working-directory: ./src
4848
run: |
4949
cd ${{ matrix.application }}
50-
dotnet publish --no-restore --configuration Release --os win --output publishFolder
50+
dotnet publish \
51+
-r win-x64 \
52+
--self-contained true \
53+
--configuration Release \
54+
--output publishFolder
5155
cd publishFolder
5256
zip -r ../zip-deploy-${{ matrix.application }}-win-x64.zip *
5357
- name: Upload ${{ matrix.application }} build artifact

0 commit comments

Comments
 (0)