Skip to content

Commit 44800ef

Browse files
Updated cache instructions to use the right package file (github#28702)
Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
1 parent 7487514 commit 44800ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/actions/automating-builds-and-tests/building-and-testing-net.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ steps:
157157
with:
158158
path: ~/.nuget/packages
159159
# Look to see if there is a cache hit for the corresponding requirements file
160-
key: {% raw %}${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
160+
key: {% raw %}${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
161161
restore-keys: |
162162
${{ runner.os }}-nuget{% endraw %}
163163
- name: Install dependencies

0 commit comments

Comments
 (0)