Skip to content

Commit fb39a83

Browse files
committed
Tweaking runner actions
1 parent 6b64d1b commit fb39a83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- uses: actions/cache@v3
5959
with:
6060
path: .build
61-
key: ${{ matrix.os }}-spm-${{ hashFiles('**/Package.resolved') }}
61+
key: ${{ matrix.os }}-${{ matrix.swift }}-spm-${{ hashFiles('**/Package.resolved') }}
6262
restore-keys: |
6363
${{ matrix.os }}-spm-
6464
- name: Build
@@ -102,7 +102,7 @@ jobs:
102102
- uses: actions/cache@v3
103103
with:
104104
path: .build
105-
key: ${{ matrix.os }}-spm-${{ hashFiles('**/Package.resolved') }}
105+
key: ${{ matrix.os }}-${{ matrix.swift }}-spm-${{ hashFiles('**/Package.resolved') }}
106106
restore-keys: |
107107
${{ matrix.os }}-spm-
108108

0 commit comments

Comments
 (0)