From 6595a36075e1ac7757f8e4cfbe86c2b3a2b3b429 Mon Sep 17 00:00:00 2001 From: Koen Metsu Date: Mon, 27 May 2024 11:10:20 +0200 Subject: [PATCH] fix: or-1566 publish in release config --- .github/workflows/build-image.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-image.yml b/.github/workflows/build-image.yml index e3c2d79ee..3175550df 100644 --- a/.github/workflows/build-image.yml +++ b/.github/workflows/build-image.yml @@ -182,12 +182,12 @@ jobs: - name: Pre-build Marten models if: ${{ inputs.pre-gen-marten }} shell: bash - run: dotnet run --project src/${{ inputs.build-project }} -- codegen write + run: dotnet run -c Release --project src/${{ inputs.build-project }} -- codegen write - name: Dotnet build shell: bash - run: dotnet build --no-restore --runtime 'linux-x64' --self-contained -f net8.0 src/${{ inputs.build-project }} + run: dotnet build -c Release --no-restore --runtime 'linux-x64' --self-contained -f net8.0 src/${{ inputs.build-project }} - name: Dotnet publish shell: bash