Skip to content

Commit

Permalink
print erlang version
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagoefmoraes committed Jan 12, 2024
1 parent 71142e7 commit 93f435a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Erlang version
run: erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), io:fwrite(Version), halt().' -noshell
- name: Deps and _build cache
uses: actions/cache@v3
id: deps-cache
Expand All @@ -59,6 +61,7 @@ jobs:
run: |
mix local.hex --force
mix local.rebar --force
elixir --version
mix deps.get --only test
- run: mix deps.compile
if: steps.deps-cache.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 93f435a

Please sign in to comment.