Skip to content

Commit 95f09d2

Browse files
committed
Add ${{ matrix.os }} to cache key
1 parent 8edf211 commit 95f09d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
- uses: ./action-dlc
103103
name: Run satackey/action-docker-layer-caching@${{ matrix.branch }}
104104
with:
105-
key: docker-layer-caching-${{ matrix.inspect_image }}-sha:${{ github.sha }}-{hash}
105+
key: docker-layer-caching-${{ matrix.os }}-${{ matrix.inspect_image }}-sha:${{ github.sha }}-{hash}
106106

107107
- run: ${{ matrix.build_command }}
108108

@@ -130,8 +130,8 @@ jobs:
130130
- uses: ./action-dlc
131131
name: Run satackey/action-docker-layer-caching@${{ matrix.branch }}
132132
with:
133-
key: never-restored-docker-layer-caching-${{ matrix.inspect_image }}-sha:${{ github.sha }}-{hash}
134-
restore-keys: docker-layer-caching-${{ matrix.inspect_image }}-sha:${{ github.sha }}-
133+
key: never-restored-docker-layer-caching-${{ matrix.os }}-${{ matrix.inspect_image }}-sha:${{ github.sha }}-{hash}
134+
restore-keys: docker-layer-caching-${{ matrix.os }}-${{ matrix.inspect_image }}-sha:${{ github.sha }}-
135135
skip-save: 'true'
136136

137137
- name: Show cached image info

0 commit comments

Comments
 (0)