mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 15:16:08 +00:00
d8a37f5aac
* Support more OTP+Windows versions (try to bridge the gap with gleam-lang/setup-erlang that seems to support pre-21 versions) * Merge ci.yml and test.yml * Add Elixir to the Windows mix * Hopefully improve error/warning messages * Adapt the doc.s to the current reality * Add option version-type (loose by default, for compatibility)
37 lines
1.1 KiB
YAML
37 lines
1.1 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:
|
|
elixir-version:
|
|
description: Version range or exact version of Elixir to use
|
|
otp-version:
|
|
description: Version range or exact version of Erlang/OTP to use
|
|
install-hex:
|
|
description: Whether to install Hex (with Mix)
|
|
default: true
|
|
install-rebar:
|
|
description: Whether to install Rebar (with Mix)
|
|
default: true
|
|
rebar3-version:
|
|
description: Version range or exact version of rebar3 to use
|
|
version-type:
|
|
description: strict means the versions are take as-are; loose means we try
|
|
to guess versions based on semver rules
|
|
default: loose
|
|
outputs:
|
|
elixir-version:
|
|
description: Exact version of Elixir that was installed
|
|
otp-version:
|
|
description: Exact version of Erlang/OTP that was installed
|
|
rebar3-version:
|
|
description: Exact version of rebar3 that was installed
|
|
runs:
|
|
using: node12
|
|
main: dist/index.js
|