ci: fix macos erlang-otp cache hitting

This commit is contained in:
JimMoen 2022-10-19 10:42:09 +08:00
parent 075228aadc
commit 34d73960e7
No known key found for this signature in database
GPG Key ID: 87A520B4F76BA86D
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,8 @@ runs:
with:
path: ~/.kerl/${{ inputs.otp }}
key: otp-install-${{ inputs.otp }}-${{ inputs.os }}-static-ssl-disable-hipe-disable-jit
restore-keys: |
otp-install-${{ inputs.otp }}-${{ inputs.os }}
- name: build erlang
if: steps.cache.outputs.cache-hit != 'true'
shell: bash
@ -93,4 +95,5 @@ runs:
exit 1
fi
cd ..
# test with a spaces in path
rm -rf "emqx home"