25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

CI/Runtime: For OTP < 24 use rebar binaries from ejabberd 21.12

This commit is contained in:
Badlop 2024-02-19 16:04:54 +01:00
parent 081cab821b
commit 1ddc4a5c5d
2 changed files with 12 additions and 2 deletions

View File

@ -52,7 +52,7 @@ jobs:
otp-version: ${{ matrix.otp }} otp-version: ${{ matrix.otp }}
- name: Get a compatible Rebar3 - name: Get a compatible Rebar3
if: matrix.otp <= '21.3' if: matrix.otp < 24
run: | run: |
rm rebar3 rm rebar3
wget https://github.com/processone/ejabberd/raw/21.12/rebar3 wget https://github.com/processone/ejabberd/raw/21.12/rebar3

View File

@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Get compatible Rebar binaries - name: Get compatible Rebar binaries
if: matrix.otp < 23 if: matrix.otp < 24
run: | run: |
rm rebar rm rebar
rm rebar3 rm rebar3
@ -170,6 +170,16 @@ jobs:
otp-version: ${{matrix.otp}} otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}} elixir-version: ${{matrix.elixir}}
- name: Get compatible Rebar binaries
if: matrix.otp < 24
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 - name: Prepare libraries
run: | run: |
sudo apt-get -qq update sudo apt-get -qq update