Skip to content

Commit 9c83231

Browse files
committed
Optimize the GitHub actions Windows runner
See actions/setup-dotnet#260 (comment) and Lombiq/GitHub-Actions#403
1 parent 1f98d2d commit 9c83231

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
26+
- name: 🏎 Optimize Windows runner
27+
if: matrix.os == 'windows-latest'
28+
run: |
29+
echo "DOTNET_INSTALL_DIR=D:\dotnet" >> $env:GITHUB_ENV
30+
echo "NUGET_PACKAGES=D:\nuget" >> $env:GITHUB_ENV
2631
- name: 🧑‍🔧 Install .NET SDK
2732
uses: actions/setup-dotnet@v4
2833
- name: ℹ️ Show .NET info

0 commit comments

Comments
 (0)