Skip to content

Commit

Permalink
[Actions] Updated .github/actions/dotnet/action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
credfeto committed Jan 3, 2025
1 parent 710297b commit d5aa5fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/dotnet/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ runs:
- name: "Dotnet: Restore packages"
working-directory: ${{github.workspace}}/src
shell: bash
run: dotnet restore -nodeReuse:False -p:NoWarn=MSB4241 -p:SuppressNETCoreSdkPreviewMessage=true
run: |
dotnet restore -nodeReuse:False -p:NoWarn=MSB4241 -p:SuppressNETCoreSdkPreviewMessage=true || \
dotnet restore -nodeReuse:False -p:NoWarn=MSB4241 -p:SuppressNETCoreSdkPreviewMessage=true
env:
DOTNET_ROOT: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
DOTNET_INSTALL_DIR: "${{github.workspace}}/.dotnet/${{github.sha}}-${{github.run_id}}-${{github.run_number}}-${{github.run_attempt}}"
Expand Down

0 comments on commit d5aa5fd

Please sign in to comment.