From 61e9b99c9c4297ace84b5b968b4bd7f443d97541 Mon Sep 17 00:00:00 2001 From: Mark Ridgwell Date: Thu, 7 Nov 2024 11:04:10 +0000 Subject: [PATCH] [Actions] Updated .github/actions/dotnet-publish/action.yml --- .github/actions/dotnet-publish/action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/dotnet-publish/action.yml b/.github/actions/dotnet-publish/action.yml index f5ab1b9b..148247ca 100644 --- a/.github/actions/dotnet-publish/action.yml +++ b/.github/actions/dotnet-publish/action.yml @@ -31,20 +31,21 @@ runs: # # -p:PublishAot=false # -p:PublishReadyToRun=False + ## Notes: NETSDK1094 can't use --no-restore - name: "Dotnet: Publish" working-directory: ${{github.workspace}}/src/${{inputs.PROJECT_TO_PUBLISH}} shell: bash run: | dotnet publish \ - --no-restore \ -warnaserror \ --configuration:Release \ "-r:${{inputs.PLATFORM}}" \ --self-contained \ -nodeReuse:False \ + "-p:Deterministic=True" \ "-p:DisableSwagger=${{env.RELEASE}}" \ "-p:FFPublishing=True" \ - "-p:IncludeNativeLibrariesForSelfExtract=false" \ + "-p:IncludeNativeLibrariesForSelfExtract=True" \ "-p:IsProduction=${{inputs.PRODUCTION_BUILD}}" \ "-p:NoWarn=NETSDK1179" \ "-p:Optimize=true" \