Skip to content

Commit 4401eb1

Browse files
authored
Merge pull request #9739 from oech3/patch-1
GnuTests.yml: Fix caches
2 parents ef496b6 + ca93f67 commit 4401eb1

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/GnuTests.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ jobs:
5858
path: |
5959
gnu/config.cache
6060
gnu/src/getlimits
61-
key: ${{ runner.os }}-gnu-config-${{ env.REPO_GNU_REF }}-${{ hashFiles('gnu/configure') }}
62-
restore-keys: |
63-
${{ runner.os }}-gnu-config-${{ env.REPO_GNU_REF }}-
64-
${{ runner.os }}-gnu-config-
61+
key: ${{ runner.os }}-gnu-config-${{ hashFiles('gnu/NEWS') }}-${{ hashFiles('gnu/configure') }}
62+
6563
#### Build environment setup
6664
- name: Install dependencies
6765
shell: bash
@@ -112,7 +110,7 @@ jobs:
112110
path: |
113111
gnu/config.cache
114112
gnu/src/getlimits
115-
key: ${{ runner.os }}-gnu-config-${{ env.REPO_GNU_REF }}-${{ hashFiles('gnu/configure') }}
113+
key: ${{ runner.os }}-gnu-config-${{ hashFiles('gnu/NEWS') }}-${{ hashFiles('gnu/configure') }}
116114

117115
### Run tests as user
118116
- name: Run GNU tests

0 commit comments

Comments
 (0)