Skip to content

Commit

Permalink
Fix NuGet caching
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich authored Jan 31, 2025
1 parent 884f0e6 commit dbd3b8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
fetch-depth: '0'
- name: Restore NuGet Cache
id: restore-nuget-cache
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: '${{ github.workspace }}/.nuget/packages'
key: "${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}-${{ hashFiles('**/dotnet-tools.json') }}"
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
if: always() && steps.restore-nuget-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
key: ${{ steps.restore-nuget-cache.outputs.cache-primary-key }}
key: "${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}-${{ hashFiles('**/dotnet-tools.json') }}"
path: '${{ github.workspace }}/.nuget/packages'
- name: ⚙ Build
id: build
Expand Down

0 comments on commit dbd3b8a

Please sign in to comment.