Skip to content

Commit 29d1aeb

Browse files
committed
Include build.props in hashfiles
1 parent cbad0de commit 29d1aeb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/integration-jobs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/cache@v3
4848
with:
4949
path: ${{ github.workspace }}/.nuget/packages
50-
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}
50+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}-${{ hashFiles('**/*.Build.props') }}
5151
restore-keys: |
5252
${{ runner.os }}-nuget-
5353
- uses: actions/cache@v3

.github/workflows/stale-jobs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- uses: actions/cache@v3
3232
with:
3333
path: ${{ github.workspace }}/.nuget/packages
34-
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}
34+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}-${{ hashFiles('**/*.Build.props') }}
3535
restore-keys: |
3636
${{ runner.os }}-nuget-
3737

.github/workflows/test-jobs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/cache@v3
3131
with:
3232
path: ${{ github.workspace }}/.nuget/packages
33-
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}
33+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}-${{ hashFiles('**/*.Build.props') }}
3434
restore-keys: |
3535
${{ runner.os }}-nuget-
3636
@@ -60,7 +60,7 @@ jobs:
6060
- uses: actions/cache@v3
6161
with:
6262
path: ${{ github.workspace }}/.nuget/packages
63-
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}
63+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.[cf]sproj*') }}-${{ hashFiles('**/*.Build.props') }}
6464
restore-keys: |
6565
${{ runner.os }}-nuget-
6666

0 commit comments

Comments
 (0)