Add environment variables (#94)

* Allow for Windows'22 container

(win22 is just a guess, at this moment)

* Add environment variables

* Clean up code
This commit is contained in:
Paulo F. Oliveira
2022-02-22 11:05:11 +00:00
committed by GitHub
parent b28629c519
commit 2494d08aa0
19 changed files with 182 additions and 82 deletions
+10
View File
@@ -187,6 +187,16 @@ jobs:
**Note**: the `otp-version: false` input is only applicable when installing Gleam.
## Environment variables
Base installation folders (useful for e.g. fetching headers for NIFs) are available in the following
environment variables:
- `INSTALL_DIR_FOR_ELIXIR`: base folder for Erlang/OTP
- `INSTALL_DIR_FOR_GLEAM`: base folder for Elixir
- `INSTALL_DIR_FOR_OTP`: base folder for Gleam
- `INSTALL_DIR_FOR_REBAR3`: base folder for `rebar3`
## Elixir Problem Matchers
The Elixir Problem Matchers in this repository are adapted from