File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments