diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8b75cd0f94c00b1fa45ad5c6961d74c56df7797..7b72e6bed5b6217f8cceb0ad2071bc79fea79de4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,6 @@ +before_script: + - rebar3 update + stages: - compile - test @@ -21,7 +24,6 @@ hex_publish: script: - mkdir -p ~/.hex && printf "{key,<<\"$HEX_KEY\">>}.\n{username,<<\"$HEX_USERNAME\">>}.\n" > ~/.hex/hex.config - mkdir -p ~/.config/rebar3 && printf "{plugins, [rebar3_hex]}.\n" > ~/.config/rebar3/rebar.config - - rebar3 update - echo "Y" | rebar3 hex publish aws_publish: