From 34d73960e729a3217c5ea60d73ee0857793b0954 Mon Sep 17 00:00:00 2001 From: JimMoen Date: Wed, 19 Oct 2022 10:42:09 +0800 Subject: [PATCH] ci: fix macos erlang-otp cache hitting --- .github/actions/package-macos/action.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/package-macos/action.yaml b/.github/actions/package-macos/action.yaml index 3efe0ef81..1a7e4fb9c 100644 --- a/.github/actions/package-macos/action.yaml +++ b/.github/actions/package-macos/action.yaml @@ -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"