fix: remove misleading 'Restore Complete' step in csharp-publish

Remove the 'Restore Complete' step that always printed 'Cache hit -
skipping dotnet restore' even though restore always runs via the retry
action.

The message was misleading because:
- Dependencies are always restored via step-security/retry
- The message claimed restore was skipped, which was false
- The step served no actual purpose

The 'Restore Dependencies' step already provides appropriate output
during execution, making this step redundant and confusing.
This commit is contained in:
2025-11-21 08:22:54 +02:00
parent 696f619767
commit 821aef07d6

View File

@@ -177,11 +177,6 @@ runs:
echo "Restoring .NET dependencies..." echo "Restoring .NET dependencies..."
dotnet restore --verbosity normal dotnet restore --verbosity normal
- name: Restore Complete
shell: bash
run: |
echo "Cache hit - skipping dotnet restore"
- name: Build Solution - name: Build Solution
shell: bash shell: bash
run: | run: |