Skip to content

Commit 84d5824

Browse files
authored
Remove --no-restore, add NUGET_PACKAGES env var
1 parent 6bf56a1 commit 84d5824

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ on:
1212
jobs:
1313
build-windows:
1414
runs-on: windows-latest
15+
env:
16+
NUGET_PACKAGES: D:\nuget\packages
1517

1618
steps:
1719
- name: Checkout
@@ -20,10 +22,10 @@ jobs:
2022
submodules: 'recursive'
2123

2224
- name: Test
23-
run: dotnet test --no-restore
25+
run: dotnet test
2426

2527
- name: Build
26-
run: dotnet publish RLBotCS -r win-x64 --no-restore
28+
run: dotnet publish RLBotCS -r win-x64
2729

2830
- name: Upload build artifact
2931
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)