Skip to content

Commit 999afbf

Browse files
authored
wip
1 parent af048d1 commit 999afbf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,20 @@ jobs:
141141
- name: .NET info
142142
run: dotnet --info
143143

144+
- name: Restore
145+
run: dotnet restore eng/build.proj --configuration ${{ matrix.configuration }} /bl ${{ env.AdditionalArgs }} ${{ matrix.additionalArguments }}
146+
144147
- name: Build
145-
env:
148+
env:
146149
# Attempt to reduce flakiness on x86 because of limited RAM
147150
AdditionalArgs: ${{ matrix.architecture == 'x86' && '-maxcpucount:1' || '' }}
148-
run: dotnet build eng/build.proj --configuration ${{ matrix.configuration }} /bl ${{ env.AdditionalArgs }} ${{ matrix.additionalArguments }}
151+
run: dotnet build eng/build.proj --no-restore --configuration ${{ matrix.configuration }} /bl ${{ env.AdditionalArgs }} ${{ matrix.additionalArguments }}
149152

150153
- name: List environment variables
151154
run: "Get-ChildItem env: | Sort-Object Name"
152155

153156
- name: Run tests
154-
env:
157+
env:
155158
# Attempt to reduce flakiness on x86 because of limited RAM
156159
TestTfmsInParallel: ${{ matrix.architecture == 'x86' && 'false' || 'true' }}
157160
AdditionalArgs: ${{ matrix.architecture == 'x86' && '-maxcpucount:1' || '' }}

0 commit comments

Comments
 (0)