Skip to content

Commit c3abfb0

Browse files
fix: harden copilot setup tool installation
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 3eede13 commit c3abfb0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
uses: actions/setup-node@v6
3333
with:
3434
node-version: '24'
35-
cache: npm
36-
cache-dependency-path: EssentialCSharp.Web/package-lock.json
3735

3836
- name: Set up dependency caching for faster builds
3937
uses: actions/cache@v5
@@ -53,7 +51,7 @@ jobs:
5351
- name: Install additional development tools
5452
run: |
5553
echo "Installing additional tools for Copilot agent environment..."
56-
dotnet tool install --global dotnet-ef
54+
dotnet tool update --global dotnet-ef || dotnet tool install --global dotnet-ef
5755
5856
- name: Restore with dotnet
5957
run: dotnet restore

0 commit comments

Comments
 (0)