Merge pull request #6741 from qzhuyan/ci/william/mac-cache-otp-install
ci(mac): cache otp install only
This commit is contained in:
commit
fa59141d6d
|
@ -152,8 +152,8 @@ jobs:
|
|||
- uses: actions/cache@v2
|
||||
id: cache
|
||||
with:
|
||||
path: ~/.kerl
|
||||
key: otp-${{ matrix.otp }}-${{ matrix.macos }}
|
||||
path: ~/.kerl/${{ matrix.otp }}
|
||||
key: otp-install-${{ matrix.otp }}-${{ matrix.macos }}
|
||||
- name: build erlang
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
timeout-minutes: 60
|
||||
|
|
|
@ -105,8 +105,8 @@ jobs:
|
|||
- uses: actions/cache@v2
|
||||
id: cache
|
||||
with:
|
||||
path: ~/.kerl
|
||||
key: otp-${{ matrix.otp }}-${{ matrix.macos }}
|
||||
path: ~/.kerl/${{ matrix.otp }}
|
||||
key: otp-install-${{ matrix.otp }}-${{ matrix.macos }}
|
||||
- name: build erlang
|
||||
if: steps.cache.outputs.cache-hit != 'true'
|
||||
timeout-minutes: 60
|
||||
|
|
Loading…
Reference in New Issue