This action sets up an Erlang environment.
Note Currently, this action supports only ubuntu-* runtimes.
See action.yml.
Note The OTP release version specification is relatively
complex.
For best results, it is recommended that one specifies OTP versions using YAML strings, as these examples do,
so that numbers like 23.0 don't end up being parsed as 23, which is not equivalent.
For a full list of supported OTP versions, see (versions prefixed with OTP-):
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ErlGang/setup-erlang@master
with:
otp-version: '22.2'
- run: command -v erlon: push
jobs:
test:
name: OTP ${{matrix.otp}} on ${{ matrix.os }}
strategy:
matrix:
otp: ['23.0', '23', '22.2']
os: ['ubuntu-20.04', 'ubuntu-18.04']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: ErlGang/setup-erlang@master
with:
otp-version: ${{ matrix.otp }}
- run: command -v erlThis project is released under the MIT license.
This GitHub action is based on setup-elixir action