-
Notifications
You must be signed in to change notification settings - Fork 52
/
action.yml
64 lines (64 loc) · 2.56 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
---
name: setup-beam
description: >
Set up a BEAM-based CI environment, supporting languages and tools such as Erlang/OTP, Elixir, Gleam, `rebar3`, and `hex`.
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: node20
main: dist/index.js