From 2702c6da48e0af512f5f64ce907aa10435440c3d Mon Sep 17 00:00:00 2001 From: "Dr. Christian Geuer-Pollmann" Date: Thu, 17 Aug 2023 18:07:18 +0200 Subject: [PATCH] x --- .github/workflows/dotnetbuild.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dotnetbuild.yml b/.github/workflows/dotnetbuild.yml index 77d56e1..93b8c23 100644 --- a/.github/workflows/dotnetbuild.yml +++ b/.github/workflows/dotnetbuild.yml @@ -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