From f838319455ccde53f2bc1ed47f55c2a22bfe9fa7 Mon Sep 17 00:00:00 2001 From: Badlop Date: Tue, 2 Jan 2024 20:21:52 +0100 Subject: [PATCH] Runtime: Rebars: Get old rebar binaries when testing old erlang versions --- .github/workflows/runtime.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/runtime.yml b/.github/workflows/runtime.yml index 4b62858f8..8583eb02b 100644 --- a/.github/workflows/runtime.yml +++ b/.github/workflows/runtime.yml @@ -44,6 +44,16 @@ jobs: - uses: actions/checkout@v4 + - name: Get compatible Rebar binaries + if: matrix.otp < 23 + run: | + rm rebar + rm rebar3 + wget https://github.com/processone/ejabberd/raw/21.12/rebar + wget https://github.com/processone/ejabberd/raw/21.12/rebar3 + chmod +x rebar + chmod +x rebar3 + - name: Prepare libraries run: | apt-get -qq update