Skip to content

Commit ca93f67

Browse files
authored
GnuTests.yml: Fix caches
1 parent ef496b6 commit ca93f67

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.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)