Merge pull request #6741 from qzhuyan/ci/william/mac-cache-otp-install

ci(mac): cache otp install only
This commit is contained in:
William Yang 2022-01-13 14:55:08 +01:00 committed by GitHub
commit fa59141d6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -152,8 +152,8 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
id: cache id: cache
with: with:
path: ~/.kerl path: ~/.kerl/${{ matrix.otp }}
key: otp-${{ matrix.otp }}-${{ matrix.macos }} key: otp-install-${{ matrix.otp }}-${{ matrix.macos }}
- name: build erlang - name: build erlang
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
timeout-minutes: 60 timeout-minutes: 60

View File

@ -105,8 +105,8 @@ jobs:
- uses: actions/cache@v2 - uses: actions/cache@v2
id: cache id: cache
with: with:
path: ~/.kerl path: ~/.kerl/${{ matrix.otp }}
key: otp-${{ matrix.otp }}-${{ matrix.macos }} key: otp-install-${{ matrix.otp }}-${{ matrix.macos }}
- name: build erlang - name: build erlang
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'
timeout-minutes: 60 timeout-minutes: 60