Skip to content

Commit f3f3a40

Browse files
committed
The C-API specs cache should be invalidated when C-API specs .c & .h files are changed
1 parent 85cd08e commit f3f3a40

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/capiext/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ runs:
2727
eval $(grep -e '^arch *=' -e '^ruby_version *=' -e '^DLEXT *=' Makefile |
2828
sed 's/ *= */=/')
2929
case "${ruby_version}" in
30-
*+*) key=capiexts-${arch}-${ruby_version};;
30+
*+*) key=capiexts-${arch}-${ruby_version}-${{ hashFiles('src/spec/ruby/optional/capi/ext/*.[ch]') }};;
3131
*) key=;;
3232
esac
3333
echo version=$ruby_version >> $GITHUB_OUTPUT
34-
echo key=$key >> $GITHUB_OUTPUT
34+
echo key="$key" >> $GITHUB_OUTPUT
3535
echo DLEXT=$DLEXT >> $GITHUB_OUTPUT
3636
working-directory: ${{ inputs.builddir }}
3737

0 commit comments

Comments
 (0)