Skip to content

Commit 9b3740f

Browse files
committed
Tweak runner.os
1 parent a2a1d87 commit 9b3740f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ jobs:
9393
with:
9494
path: |
9595
~/.dub/packages
96-
key: macos-latest-build-dub-${{ hashFiles('**/dub.sdl', '**/dub.json', '**/dub.selections.json') }}
96+
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.sdl', '**/dub.json', '**/dub.selections.json') }}
9797
restore-keys: |
98-
macos-latest-build-dub-packages-
98+
${{ runner.os }}-dub-packages-
9999
- name: Cache dub build cache (compiler-specific)
100100
uses: actions/cache@v4
101101
with:
@@ -154,9 +154,9 @@ jobs:
154154
with:
155155
path: |
156156
~/.dub/packages
157-
key: ubuntu-latest-build-dub-${{ hashFiles('**/dub.sdl', '**/dub.json', '**/dub.selections.json') }}
157+
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.sdl', '**/dub.json', '**/dub.selections.json') }}
158158
restore-keys: |
159-
ubuntu-latest-build-dub-packages
159+
${{ runner.os }}-dub-packages
160160
- name: Cache dub build cache (compiler-specific)
161161
uses: actions/cache@v4
162162
with:
@@ -211,9 +211,9 @@ jobs:
211211
with:
212212
path: |
213213
${{ env.APPDATA }}\dub\packages
214-
key: windows-latest-build-dub-${{ hashFiles('**/dub.sdl', '**/dub.json', '**/dub.selections.json') }}
214+
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.sdl', '**/dub.json', '**/dub.selections.json') }}
215215
restore-keys: |
216-
windows-latest-build-dub-
216+
${{ runner.os }}-dub-
217217
- name: Cache dub build cache (compiler-specific)
218218
uses: actions/cache@v4
219219
with:

0 commit comments

Comments
 (0)