Skip to content

Commit 4b05af6

Browse files
fix: avoid noisy dotnet-ef fallback output
Agent-Logs-Url: https://github.com/IntelliTect/EssentialCSharp.Web/sessions/d6590875-922c-45ea-9f77-48dbe7ac66c5 Co-authored-by: BenjaminMichaelis <22186029+BenjaminMichaelis@users.noreply.github.com>
1 parent c3abfb0 commit 4b05af6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ jobs:
5151
- name: Install additional development tools
5252
run: |
5353
echo "Installing additional tools for Copilot agent environment..."
54-
dotnet tool update --global dotnet-ef || dotnet tool install --global dotnet-ef
54+
if dotnet tool list --global | grep -q '^dotnet-ef '; then
55+
dotnet tool update --global dotnet-ef
56+
else
57+
dotnet tool install --global dotnet-ef
58+
fi
5559
5660
- name: Restore with dotnet
5761
run: dotnet restore

0 commit comments

Comments
 (0)