erlef/setup-beam
Set up a BEAM-based CI environment, supporting languages and tools such as Erlang/OTP, Elixir, Gleam, `rebar3`, and `hex`.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | A GitHub token used to access the GitHub REST API for retrieving release and version information. While this action will never perform anything more than read operations against the GitHub REST API, we do not recommend providing a self-generated personal access token which may provide more access than is required of this action. This input instead is merely a convenience so that users of this action do not have to manually pass an automatically generated token via their environment settings within a workflow. [Learn more about automatically generated tokens](https://docs.github.com/en/actions/security-guides/automatic-token-authentication) | no | ${{ github.token }} |
| otp-version | Version range or exact version of Erlang/OTP to use, or false when installing only Gleam without OTP | no | — |
| otp-architecture | 32 or 64, to specify the architecture of the OTP to install. Only applies to Windows. | no | 64 |
| elixir-version | Version range or exact version of Elixir to use | no | — |
| gleam-version | Version range or exact version of Gleam to use | no | — |
| install-hex | Whether to install Hex (with mix local.hex when installing Elixir) | no | true |
| install-rebar | Whether to install Rebar (with mix local.rebar when installing Elixir) | no | true |
| rebar3-version | Version range or exact version of rebar3 to use (or nightly) | no | — |
| version-type | strict means the versions are take as-are; loose means we try to guess versions based on semver rules | no | loose |
| disable_problem_matchers | whether to have the problem matchers present in the results (or not) | no | false |
| version-file | a versions file (e.g. `.tool-versions` as used by `asdf`, or `mise.toml` as used by `mise`), which defines inputs | no | "" |
| hexpm-mirrors | mirror(s) for hex.pm, one per line | no | https://builds.hex.pm |
Outputs
| name | description |
|---|---|
| elixir-version | Exact version of Elixir that was installed |
| otp-version | Exact version of Erlang/OTP that was installed |
| gleam-version | Exact version of Gleam that was installed |
| rebar3-version | Exact version of rebar3 that was installed |
| setup-beam-version | The commit unique id of the execution action version |