build: disable macos build cache for now

This commit is contained in:
Zaiming Shi 2021-05-24 21:12:15 +02:00
parent 979e495a1e
commit 6015b4ac4a
1 changed files with 8 additions and 7 deletions

View File

@ -53,7 +53,7 @@ jobs:
strategy: strategy:
matrix: matrix:
erl_otp: erl_otp:
- 23.2.7.2 - 23.2.7.2-emqx-2
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
@ -73,15 +73,16 @@ jobs:
brew install curl zip unzip gnu-sed kerl unixodbc freetds brew install curl zip unzip gnu-sed kerl unixodbc freetds
echo "/usr/local/bin" >> $GITHUB_PATH echo "/usr/local/bin" >> $GITHUB_PATH
git config --global credential.helper store git config --global credential.helper store
- uses: actions/cache@v2 # - uses: actions/cache@v2
id: cache # id: cache
with: # with:
path: ~/.kerl # path: ~/.kerl
key: erl${{ matrix.erl_otp }}-macos10.15 # key: erl${{ matrix.erl_otp }}-macos10.15
- 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
run: | run: |
export OTP_GITHUB_URL="https://github.com/emqx/otp"
kerl build ${{ matrix.erl_otp }} kerl build ${{ matrix.erl_otp }}
kerl install ${{ matrix.erl_otp }} $HOME/.kerl/${{ matrix.erl_otp }} kerl install ${{ matrix.erl_otp }} $HOME/.kerl/${{ matrix.erl_otp }}
- name: build - name: build