mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 07:06:07 +00:00
4678b57fab
* Do a bit of YAMLlint'ing * Ease consumer cache invalidation By providing an output with the action version we ease cache invalidation on consumer, due to the fact we can now stop worrying about changes to the action's cache itself Might also be interesting for self-hosted runners... * Remove duplicates * Do further validations for robustness
66 lines
2.6 KiB
YAML
66 lines
2.6 KiB
YAML
---
|
|
name: Setup Erlang/OTP with optional Elixir (and mix) and/or rebar3
|
|
description: >
|
|
Set up a specific version of Erlang/OTP, Elixir, and/or rebar3
|
|
and add the command-line tools to the PATH
|
|
author: Erlang Ecosystem Foundation
|
|
branding:
|
|
color: blue
|
|
icon: code
|
|
inputs:
|
|
github-token:
|
|
description: >
|
|
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)
|
|
default: ${{ github.token }}
|
|
otp-version:
|
|
description: Version range or exact version of Erlang/OTP to use,
|
|
or false when installing only Gleam without OTP
|
|
elixir-version:
|
|
description: Version range or exact version of Elixir to use
|
|
gleam-version:
|
|
description: Version range or exact version of Gleam to use
|
|
install-hex:
|
|
description: Whether to install Hex (with mix local.hex
|
|
when installing Elixir)
|
|
default: true
|
|
install-rebar:
|
|
description: Whether to install Rebar (with mix local.rebar
|
|
when installing Elixir)
|
|
default: true
|
|
rebar3-version:
|
|
description: Version range or exact version of rebar3 to use (or nightly)
|
|
version-type:
|
|
description: strict means the versions are take as-are; loose means we try
|
|
to guess versions based on semver rules
|
|
default: loose
|
|
disable_problem_matchers:
|
|
description: whether to have the problem matchers present in the results
|
|
(or not)
|
|
default: false
|
|
version-file:
|
|
description: a versions file (e.g. as used by `asdf`), which defines inputs
|
|
default: ''
|
|
hexpm-mirrors:
|
|
description: mirror(s) for hex.pm, one per line
|
|
default: |
|
|
https://builds.hex.pm
|
|
outputs:
|
|
elixir-version:
|
|
description: Exact version of Elixir that was installed
|
|
otp-version:
|
|
description: Exact version of Erlang/OTP that was installed
|
|
gleam-version:
|
|
description: Exact version of Gleam that was installed
|
|
rebar3-version:
|
|
description: Exact version of rebar3 that was installed
|
|
setup-beam-version:
|
|
description: The commit unique id of the execution action version
|
|
runs:
|
|
using: node16
|
|
main: dist/index.js
|