Skip to content

Commit

Permalink
[Actions] Updated .github/actions/dotnet-publish/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Nov 7, 2024
1 parent c031097 commit 61e9b99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/dotnet-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down

0 comments on commit 61e9b99

Please sign in to comment.