@@ -109,7 +109,7 @@ runs:
109
109
with :
110
110
path : |
111
111
~/.local/share/bats
112
- key : ${{ runner.os }}-bats-${{ inputs.bats-version }}
112
+ key : ${{ runner.os }}-${{ runner.arch }}- bats-${{ inputs.bats-version }}
113
113
114
114
- name : " Set PATH in case of cache-hit"
115
115
if : inputs.bats-install == 'true' && steps.bats-cache.outputs.cache-hit == 'true'
@@ -155,7 +155,7 @@ runs:
155
155
id : support-cache
156
156
with :
157
157
path : ${{ inputs.support-path }}
158
- key : ${{ runner.os }}-bats-support-${{ inputs.support-version }}
158
+ key : ${{ runner.os }}-${{ runner.arch }}- bats-support-${{ inputs.support-version }}
159
159
160
160
- name : " Download and install Bats-support"
161
161
if : inputs.support-install == 'true' && steps.support-cache.outputs.cache-hit != 'true'
@@ -188,7 +188,7 @@ runs:
188
188
id : assert-cache
189
189
with :
190
190
path : ${{ inputs.assert-path }}
191
- key : ${{ runner.os }}-bats-assert-${{ inputs.assert-version }}
191
+ key : ${{ runner.os }}-${{ runner.arch }}- bats-assert-${{ inputs.assert-version }}
192
192
193
193
- name : " Download and install Bats-assert"
194
194
if : inputs.assert-install == 'true' && steps.assert-cache.outputs.cache-hit != 'true'
@@ -221,7 +221,7 @@ runs:
221
221
id : detik-cache
222
222
with :
223
223
path : ${{ inputs.detik-path }}
224
- key : ${{ runner.os }}-bats-detik-${{ inputs.detik-version }}
224
+ key : ${{ runner.os }}-${{ runner.arch }}- bats-detik-${{ inputs.detik-version }}
225
225
226
226
- name : " Download and install Bats-detik"
227
227
if : inputs.detik-install == 'true' && steps.detik-cache.outputs.cache-hit != 'true'
@@ -253,7 +253,7 @@ runs:
253
253
id : file-cache
254
254
with :
255
255
path : ${{ inputs.file-path }}
256
- key : ${{ runner.os }}-bats-file-${{ inputs.file-version }}
256
+ key : ${{ runner.os }}-${{ runner.arch }}- bats-file-${{ inputs.file-version }}
257
257
258
258
- name : " Download and install Bats-file"
259
259
if : inputs.file-install == 'true' && steps.file-cache.outputs.cache-hit != 'true'
0 commit comments