forked from erlef/setup-beam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
102 lines (81 loc) · 3.02 KB
/
action.yml
File metadata and controls
102 lines (81 loc) · 3.02 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
---
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 }}
required: false
otp-version:
description: Version range or exact version of Erlang/OTP to use,
or false when installing only Gleam without OTP
required: false
otp-architecture:
description: 32 or 64, to specify the architecture of the OTP to install. Only applies to Windows.
default: 64
required: false
elixir-version:
description: Version range or exact version of Elixir to use
required: false
gleam-version:
description: Version range or exact version of Gleam to use
required: false
install-hex:
description: Whether to install Hex (with mix local.hex
when installing Elixir)
default: true
required: false
install-rebar:
description: Whether to install Rebar (with mix local.rebar
when installing Elixir)
default: true
required: false
rebar3-version:
description: Version range or exact version of rebar3 to use (or nightly)
required: false
version-type:
description: strict means the versions are take as-are; loose means we try
to guess versions based on semver rules
default: loose
required: false
disable_problem_matchers:
description: whether to have the problem matchers present in the results
(or not)
default: false
required: false
version-file:
description: >-
a versions file (e.g. `.tool-versions` as used by `asdf`, or `mise.toml`
as used by `mise`), which defines inputs
default: ''
required: false
hexpm-mirrors:
description: mirror(s) for hex.pm, one per line
default: |
https://builds.hex.pm
required: false
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: node24
main: dist/index.js