Skip to content

Commit 07a1958

Browse files
authored
Update CI build workflow and clear NuGet cache
Updated checkout action version and added NuGet cache clearing step.
1 parent 7cd9790 commit 07a1958

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/cibuild.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,14 @@ jobs:
3232
runs-on: windows-latest
3333

3434
steps:
35-
- uses: actions/checkout@v6.0.0
35+
- uses: actions/checkout@v4
3636

3737
- name: Add MSBuild to PATH
3838
uses: microsoft/[email protected]
3939

40+
- name: Clear NuGet cache
41+
run: nuget locals all -clear
42+
4043
- name: Restore VssApi NuGet packages
4144
working-directory: ${{env.GITHUB_WORKSPACE}}
4245
run: msbuild ${{env.SOLUTION_PATH}}\PInvoke\VssApi\Vanara.PInvoke.VssApi.vcxproj /m /verbosity:quiet /t:restore /p:RunAnalyzersDuringBuild=false /p:Configuration=${{env.BUILD_CONFIGURATION}}

0 commit comments

Comments
 (0)