Skip to content

Commit

Permalink
common use of -p rather than /p
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Jul 19, 2024
1 parent 24a2adf commit 65fbc9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ runs:
- name: "Dotnet: Test"
working-directory: ${{github.workspace}}/src
shell: bash
run: dotnet test --no-build --no-restore -noConsoleLogger --configuration Release "-p:Version=${{inputs.BUILD_VERSION}}" "/p:IsProduction=${{inputs.PRODUCTION_BUILD}}" --filter FullyQualifiedName\!~Integration --logger:"trx;LogFilePrefix=testResults" --results-directory ../test-results -nodeReuse:False -p:NoWarn=MSB4241 -p:SuppressNETCoreSdkPreviewMessage=true
run: dotnet test --no-build --no-restore -noConsoleLogger --configuration Release "-p:Version=${{inputs.BUILD_VERSION}}" "-p:IsProduction=${{inputs.PRODUCTION_BUILD}}" --filter FullyQualifiedName\!~Integration --logger:"trx;LogFilePrefix=testResults" --results-directory ../test-results -nodeReuse:False -p:NoWarn=MSB4241 -p:SuppressNETCoreSdkPreviewMessage=true
env:
ReleaseNotes: ${{inputs.RELEASE_NOTES}}
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
Expand Down Expand Up @@ -190,7 +190,7 @@ runs:
if: inputs.NUGET_PACK == 'true'
working-directory: ${{github.workspace}}/src
shell: bash
run: dotnet pack --configuration Release "-p:Version=${{inputs.BUILD_VERSION}}" "/p:IsProduction=${{inputs.PRODUCTION_BUILD}}" --no-restore -nodeReuse:False -p:NoWarn=MSB4241
run: dotnet pack --configuration Release "-p:Version=${{inputs.BUILD_VERSION}}" "-p:IsProduction=${{inputs.PRODUCTION_BUILD}}" --no-restore -nodeReuse:False -p:NoWarn=MSB4241
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 65fbc9a

Please sign in to comment.