Skip to content

Commit 294eb09

Browse files
committed
fix: invalidate build tools for configuration changes
1 parent 343afbf commit 294eb09

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/actions/cache-restore/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
1717
with:
1818
path: tools
19-
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
19+
key: tools-${{ runner.os }}-${{ hashFiles('./build/**', './.gitversion.yml') }}
2020

2121
- name: Cache NuGet packages
2222
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0

.github/workflows/_prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
4343
with:
4444
path: tools
45-
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
45+
key: tools-${{ runner.os }}-${{ hashFiles('./build/**', './.gitversion.yml') }}
4646

4747
- name: Cache NuGet packages
4848
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
6565
with:
6666
path: tools
67-
key: tools-${{ runner.os }}-${{ hashFiles('./build/**') }}
67+
key: tools-${{ runner.os }}-${{ hashFiles('./build/**', './.gitversion.yml') }}
6868

6969
- name: Setup .NET SDK
7070
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0

0 commit comments

Comments
 (0)