Skip to content

Commit

Permalink
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 Dec 13, 2023
1 parent 5efb0b2 commit 4ae9adf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -9,12 +9,15 @@ jobs:
strategy:
fail-fast: false
matrix:
otp: ['19.3', '21.3', 24]
otp: ['19.3', '21.3', 25]
runs-on: ubuntu-20.04
container:
image: erlang:${{ matrix.otp }}
steps:
- uses: actions/checkout@v3
if: matrix.otp < '20.3'
- uses: actions/checkout@v4
if: matrix.otp >= '20.3'
- run: ./configure
- run: make
- run: rebar3 compile
Expand Down

0 comments on commit 4ae9adf

Please sign in to comment.