erlef / setup-beam

Set up your BEAM-based GitHub Actions workflow (Erlang, Elixir, Gleam, ...)
MIT License
373 stars 50 forks source link

Hack around `rebar3` compiling your project to output its `version` #256

Closed paulo-ferraz-oliveira closed 6 months ago

paulo-ferraz-oliveira commented 6 months ago

Description

What are we fixing?

If you're withing "version-file": ".tool-versions" after you uses "actions/checkout", it's likely rebar3 from setup-beam is compiling your project just to output its version.

This commit prevents that as per https://github.com/erlang/rebar3/issues/2865#issuecomment-1958608973

paulo-ferraz-oliveira commented 6 months ago

Release in v1.17.5. v1 and v1.17 moved to the same commit.