chore(ci): ensure rebar3 in actions
This commit is contained in:
parent
0424200978
commit
a7d3dced5e
|
@ -96,7 +96,9 @@ jobs:
|
||||||
Remove-Item -Force -Path rebar.lock
|
Remove-Item -Force -Path rebar.lock
|
||||||
}
|
}
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
cp ./rebar3 "${{ steps.install_erlang.outputs.erlpath }}\bin"
|
copy rebar3 "${{ steps.install_erlang.outputs.erlpath }}\bin"
|
||||||
|
ls "${{ steps.install_erlang.outputs.erlpath }}\bin"
|
||||||
|
rebar3 --help
|
||||||
make ${{ matrix.profile }}
|
make ${{ matrix.profile }}
|
||||||
mkdir -p _packages/${{ matrix.profile }}
|
mkdir -p _packages/${{ matrix.profile }}
|
||||||
Compress-Archive -Path _build/${{ matrix.profile }}/rel/emqx -DestinationPath _build/${{ matrix.profile }}/rel/$pkg_name
|
Compress-Archive -Path _build/${{ matrix.profile }}/rel/emqx -DestinationPath _build/${{ matrix.profile }}/rel/$pkg_name
|
||||||
|
@ -157,8 +159,8 @@ jobs:
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
||||||
make ensure-rebar3
|
make -C source ensure-rebar3
|
||||||
export PATH="$(pwd):$PATH"
|
sudo cp source/rebar3 /usr/local/bin/rebar3
|
||||||
make -C source ${{ matrix.profile }}-zip
|
make -C source ${{ matrix.profile }}-zip
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -89,7 +89,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
||||||
make ensure-rebar3
|
make ensure-rebar3
|
||||||
export PATH="$(pwd):$PATH"
|
sudo cp rebar3 /usr/local/bin/rebar3
|
||||||
make ${EMQX_NAME}-zip
|
make ${EMQX_NAME}-zip
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue