Skip to content

Commit eff410b

Browse files
authored
Merge pull request #105 from aerospike/cache-key-fix
build: Fix cache key fix
2 parents 631f8c6 + 2b3d48b commit eff410b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/mac-artifact.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
cache-index: "2"
9797
with:
9898
path: aws-sdk-cpp-${{ env.AWS_SDK_CPP_VERSION }}
99-
key: aws-sdk-cpp-${{ env.cache-index }}-mac-artifact-${{ env.AWS_SDK_CPP_VERSION }}-${{ runner.os }}-${{ runner.arch }}-cmake-${{ env.CMAKE_VERSION }}
99+
key: aws-sdk-cpp-${{ env.cache-index }}-mac-artifact-${{ env.AWS_SDK_CPP_VERSION }}-${{ matrix.os }}-${{ runner.arch }}-cmake-${{ env.CMAKE_VERSION }}
100100
- name: Download AWS C++ sdk
101101
uses: actions/checkout@v3
102102
if: steps.cache-aws-sdk-cpp.outputs.cache-hit != 'true'
@@ -120,7 +120,7 @@ jobs:
120120
cache-index: "2"
121121
with:
122122
path: libssh2-${{ env.LIBSSH2_VERSION }}
123-
key: libssh2-v2-${{ env.LIBSSH2_VERSION }}-${{ env.cache-index }}-${{ runner.os }}-${{ runner.arch }}-cmake-${{ env.CMAKE_VERSION }}
123+
key: libssh2-v2-${{ env.LIBSSH2_VERSION }}-${{ env.cache-index }}-${{ matrix.os }}-${{ runner.arch }}-cmake-${{ env.CMAKE_VERSION }}
124124
- name: Download libssh2
125125
uses: actions/checkout@v3
126126
if: steps.cache-libssh2.outputs.cache-hit != 'true'
@@ -149,7 +149,7 @@ jobs:
149149
cache-index: "2"
150150
with:
151151
path: curl-${{ env.LIBCURL_VERSION }}
152-
key: curl-v2-${{ env.LIBCURL_VERSION }}-${{ env.cache-index }}-${{ runner.os }}-${{ runner.arch }}-cmake-${{ env.CMAKE_VERSION }}
152+
key: curl-v2-${{ env.LIBCURL_VERSION }}-${{ env.cache-index }}-${{ matrix.os }}-${{ runner.arch }}-cmake-${{ env.CMAKE_VERSION }}
153153
- name: Download libcurl
154154
uses: actions/checkout@v3
155155
if: steps.cache-libcurl.outputs.cache-hit != 'true'
@@ -183,7 +183,7 @@ jobs:
183183
cache-name: zstd
184184
with:
185185
path: zstd-${{ env.ZSTD_VERSION }}
186-
key: zstd-${{ env.ZSTD_VERSION }}-${{ runner.os }}-${{ runner.arch }}
186+
key: zstd-${{ env.ZSTD_VERSION }}-${{ matrix.os }}-${{ runner.arch }}
187187
- name: Build zstd
188188
id: build-zstd
189189
if: steps.cache-zstd.outputs.cache-hit != 'true'
@@ -221,7 +221,7 @@ jobs:
221221
with:
222222
path: |
223223
${{ steps.working-dir.outputs.value }}/binaries
224-
key: ${{ env.cache-name }}-${{ env.cache-index }}-${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.release }}-${{ env.AWS_SDK_CPP_VERSION }}-${{ env.ZSTD_VERSION }}-${{ steps.tag.outputs.tag }}
224+
key: ${{ env.cache-name }}-${{ env.cache-index }}-${{ matrix.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.release }}-${{ env.AWS_SDK_CPP_VERSION }}-${{ env.ZSTD_VERSION }}-${{ steps.tag.outputs.tag }}
225225
- name: Install AWS C++ sdk static library
226226
if: steps.cache-asbackup.outputs.cache-hit != 'true'
227227
run: |
@@ -243,13 +243,13 @@ jobs:
243243
- name: Upload static asbackup artifact
244244
uses: actions/upload-artifact@v4
245245
with:
246-
name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ runner.os }}-${{ steps.system-info.outputs.release }}-asbackup-static
246+
name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ matrix.os }}-${{ steps.system-info.outputs.release }}-asbackup-static
247247
path: ${{ steps.working-dir.outputs.value }}/binaries/static_bin/asbackup
248248
if-no-files-found: error
249249
- name: Upload static asrestore artifact
250250
uses: actions/upload-artifact@v4
251251
with:
252-
name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ runner.os }}-${{ steps.system-info.outputs.release }}-asrestore-static
252+
name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ matrix.os }}-${{ steps.system-info.outputs.release }}-asrestore-static
253253
path: ${{ steps.working-dir.outputs.value }}/binaries/static_bin/asrestore
254254
if-no-files-found: error
255255
bundle-binaries:

0 commit comments

Comments
 (0)