File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -27,19 +27,12 @@ jobs:
2727 steps :
2828 - name : Checkout
2929 uses : actions/checkout@v3
30- - name : Find packages folder
31- id : find_packages
32- run : |
33- $solutionLocation = (Get-ChildItem -Path "$Env:GITHUB_WORKSPACE" -Include $Env:SOLUTION -Recurse)
34- $packagesLocation = $solutionLocation[0].Directory.FullName+"\packages"
35- echo "Found packages folder for solution at: $packagesLocation"
36- echo "NUGET_PACKAGES=$packagesLocation" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append
37- shell : pwsh
38- - name : Cache nano NuGets
39- uses : actions/cache@v3
30+ - uses : actions/cache@v3
4031 with :
41- path : ${{ env.NUGET_PACKAGES }}
42- key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.config') }}
32+ path : ~/.nuget/packages
33+ key : ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
34+ restore-keys : |
35+ ${{ runner.os }}-nuget-
4336 - name : Update dependencies
4437 uses : nanoframework/nanodu@v1
4538 with :
You can’t perform that action at this time.
0 commit comments