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) {
|
||||
Remove-Item -Force -Path rebar.lock
|
||||
}
|
||||
make ensure-rebar3
|
||||
cp ./rebar3 "${{ steps.install_erlang.outputs.erlpath }}\bin"
|
||||
make ${{ matrix.profile }}
|
||||
mkdir -p _packages/${{ matrix.profile }}
|
||||
Compress-Archive -Path _build/${{ matrix.profile }}/rel/emqx -DestinationPath _build/${{ matrix.profile }}/rel/$pkg_name
|
||||
|
@ -155,6 +157,8 @@ jobs:
|
|||
- name: build
|
||||
run: |
|
||||
. $HOME/.kerl/${{ matrix.erl_otp }}/activate
|
||||
make ensure-rebar3
|
||||
export PATH="$(pwd):$PATH"
|
||||
make -C source ${{ matrix.profile }}-zip
|
||||
- name: test
|
||||
run: |
|
||||
|
|
Loading…
Reference in New Issue