Skip to content

Commit

Permalink
CI: Use checkout v3 for erlang < 20.3, and v4 for newer ones
Browse files Browse the repository at this point in the history
actions/checkout@v4 updated from node16 to node20,
which requires a recent GLIBC 2.27 or 2.28,
however some old erlang container images include too old GLIBC
  • Loading branch information
badlop committed Jan 18, 2024
1 parent db6d730 commit 067f399
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
image: erlang:${{ matrix.otp }}
steps:
- uses: actions/checkout@v3
if: matrix.otp < '20.3'
- uses: actions/checkout@v4
if: matrix.otp >= '20.3'
- run: sed -i 's|applications, \[|applications, \[erl_tidy, |g' src/xmpp.app.src
if: matrix.otp >= '26'
- run: make
Expand Down

0 comments on commit 067f399

Please sign in to comment.