diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index 70419bcc1..97fbc073a 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -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: |