Merge pull request #6524 from Rory-Z/ci/fix-upload-error
ci(build_packages): fix upload error for mac
This commit is contained in:
commit
7759d94d6b
|
@ -140,7 +140,7 @@ jobs:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
|
profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
|
||||||
erl_otp:
|
otp:
|
||||||
- 24.1.5-3
|
- 24.1.5-3
|
||||||
macos:
|
macos:
|
||||||
- macos-11
|
- macos-11
|
||||||
|
@ -165,7 +165,7 @@ jobs:
|
||||||
id: cache
|
id: cache
|
||||||
with:
|
with:
|
||||||
path: ~/.kerl
|
path: ~/.kerl
|
||||||
key: erl${{ matrix.erl_otp }}-${{ matrix.macos }}
|
key: erl${{ 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
|
||||||
|
@ -174,12 +174,12 @@ jobs:
|
||||||
OTP_GITHUB_URL: https://github.com/emqx/otp
|
OTP_GITHUB_URL: https://github.com/emqx/otp
|
||||||
run: |
|
run: |
|
||||||
kerl update releases
|
kerl update releases
|
||||||
kerl build ${{ matrix.erl_otp }}
|
kerl build ${{ matrix.otp }}
|
||||||
kerl install ${{ matrix.erl_otp }} $HOME/.kerl/${{ matrix.erl_otp }}
|
kerl install ${{ matrix.otp }} $HOME/.kerl/${{ matrix.otp }}
|
||||||
- name: build
|
- name: build
|
||||||
working-directory: source
|
working-directory: source
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
. $HOME/.kerl/${{ matrix.otp }}/activate
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
sudo cp rebar3 /usr/local/bin/rebar3
|
sudo cp rebar3 /usr/local/bin/rebar3
|
||||||
rm -rf _build/${{ matrix.profile }}/lib
|
rm -rf _build/${{ matrix.profile }}/lib
|
||||||
|
@ -429,6 +429,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
|
profile: ${{fromJSON(needs.prepare.outputs.profiles)}}
|
||||||
otp:
|
otp:
|
||||||
|
- 23.3.4.9-3
|
||||||
- 24.1.5-3
|
- 24.1.5-3
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in New Issue