Skip to content

Commit

Permalink
Disabling NugetAudit on publish
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Jul 17, 2024
1 parent 280b57f commit b7f1818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/dotnet-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:
- name: "Dotnet: Pack For Octopus"
working-directory: ${{github.workspace}}/src/${{inputs.OCTOPUS_DEPLOY_PACKAGE}}
shell: bash
run: dotnet publish -warnaserror --configuration:Release -r:${{inputs.PLATFORM}} --self-contained -p:NoWarn=NETSDK1179 -p:SuppressNETCoreSdkPreviewMessage=true -p:PublishSingleFile=true -p:PublishAot=false -p:PublishReadyToRun=False -p:PublishReadyToRunShowWarnings=True -p:DisableSwagger=False -p:TreatWarningsAsErrors=True "-p:Version=${{inputs.BUILD_VERSION}}" -p:IncludeNativeLibrariesForSelfExtract=false "/p:IsProduction=${{inputs.PRODUCTION_BUILD}}" -p:SolutionDir=..\\ --output ../server-dist/${{inputs.PLATFORM}} -nodeReuse:False ${{env.DOTNET_RELEASE_DEFINES}}
run: dotnet publish -warnaserror --configuration:Release -r:${{inputs.PLATFORM}} --self-contained -p:NoWarn=NETSDK1179 -p:SuppressNETCoreSdkPreviewMessage=true -p:PublishSingleFile=true -p:PublishAot=false -p:PublishReadyToRun=False -p:PublishReadyToRunShowWarnings=True -p:DisableSwagger=False -p:TreatWarningsAsErrors=True "-p:Version=${{inputs.BUILD_VERSION}}" -p:IncludeNativeLibrariesForSelfExtract=false "/p:IsProduction=${{inputs.PRODUCTION_BUILD}}" "-p:WarningsNotAsErrors=NU1901;NU1902;NU1903;NU1904" -p:SolutionDir=..\\ --output ../server-dist/${{inputs.PLATFORM}} -nodeReuse:False ${{env.DOTNET_RELEASE_DEFINES}}
env:
ReleaseNotes: ${{inputs.RELEASE_NOTES}}
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ runs:
- name: "Dotnet: Build (Non-Release)"
working-directory: ${{github.workspace}}/src
shell: bash
run: dotnet build --configuration Release "/p:Version=${{inputs.BUILD_VERSION}}" "/p:EnableSarif=True" "/p:IsProduction=${{inputs.PRODUCTION_BUILD}}" -nodeReuse:False -p:NoWarn=MSB4241 -p:SuppressNETCoreSdkPreviewMessage=true ${{env.DOTNET_RELEASE_DEFINES}}
run: dotnet build --configuration Release "-p:Version=${{inputs.BUILD_VERSION}}" "-p:EnableSarif=True" "-p:IsProduction=${{inputs.PRODUCTION_BUILD}}" -nodeReuse:False -p:NoWarn=MSB4241 -p:SuppressNETCoreSdkPreviewMessage=true ${{env.DOTNET_RELEASE_DEFINES}}
env:
ReleaseNotes: ${{inputs.RELEASE_NOTES}}
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
Expand Down

0 comments on commit b7f1818

Please sign in to comment.