build: ensure rebar3 in PATH for build_packages action
This commit is contained in:
parent
96466aba40
commit
0424200978
|
@ -95,6 +95,8 @@ jobs:
|
||||||
if (Test-Path rebar.lock) {
|
if (Test-Path rebar.lock) {
|
||||||
Remove-Item -Force -Path rebar.lock
|
Remove-Item -Force -Path rebar.lock
|
||||||
}
|
}
|
||||||
|
make ensure-rebar3
|
||||||
|
cp ./rebar3 "${{ steps.install_erlang.outputs.erlpath }}\bin"
|
||||||
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
|
||||||
|
@ -155,6 +157,8 @@ jobs:
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
||||||
|
make ensure-rebar3
|
||||||
|
export PATH="$(pwd):$PATH"
|
||||||
make -C source ${{ matrix.profile }}-zip
|
make -C source ${{ matrix.profile }}-zip
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue