diff --git a/.github/workflows/dotnetbuild.yml b/.github/workflows/dotnetbuild.yml index d253950..77d56e1 100644 --- a/.github/workflows/dotnetbuild.yml +++ b/.github/workflows/dotnetbuild.yml @@ -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