cocoa-xu/Install Erlang/OTP
Download and set up a precompiled Erlang/OTP for the current runner from cocoa-xu/otp-build.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| otp_version | OTP version or requirement. An exact version (e.g. "27.2") matches that release exactly; an Elixir-style requirement resolves to the highest available release that satisfies it: "~> 27" (any 27.x), "~> 27.1" (>= 27.1, < 28), ">= 26.2", "< 28", etc. | no | — |
| otp-version | Alias for otp_version. | no | — |
| install-dir | Directory to extract Erlang/OTP into. | no | .otp |
| add-to-path | Append the OTP bin directory to PATH (via GITHUB_PATH). | no | true |
| repository | The otp-build repository to download releases from. | no | cocoa-xu/otp-build |
| token | Token used to list releases when resolving a requirement (exact versions need no token). | no | ${{ github.token }} |
Outputs
| name | description |
|---|---|
| otp-version | The concrete OTP version that was resolved and installed. |
| install-dir | Absolute path the archive was extracted to. |
| bindir | Absolute path of the OTP bin directory (added to PATH). |
| erl-rootdir | Value exported as ERL_ROOTDIR. |
| triplet | The detected platform triplet (e.g. x86_64-linux-gnu). |