Skip to content

Commit be83fa4

Browse files
committed
ci,ubuntu: specify lib shared type in gh cache
1 parent 5f50106 commit be83fa4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/everything.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ jobs:
180180
id: restore-cache
181181
with:
182182
path: .ccache
183-
key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
183+
key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}${{ matrix.shared == 'static' && '-static' || ''}}-${{ github.sha }}
184184
restore-keys: |
185-
ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}
185+
ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}${{ matrix.shared == 'static' && '-static' || ''}}
186186
- name: Configure cache
187187
run: ccache -z
188188
- name: Setup
@@ -201,7 +201,7 @@ jobs:
201201
id: save-cache
202202
with:
203203
path: .ccache
204-
key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}-${{ github.sha }}
204+
key: ccache-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.parallel }}${{ matrix.shared == 'static' && '-static' || ''}}-${{ github.sha }}
205205
- name: Test
206206
if: ${{ matrix.constrains != 'build_only' }}
207207
run: gha/scripts/ci/gh-actions/run.sh test

0 commit comments

Comments
 (0)