Skip to content

Commit

Permalink
Fix building with SKIP_DEPS=true
Browse files Browse the repository at this point in the history
  • Loading branch information
weiss committed Aug 6, 2023
1 parent e21a7ec commit b79ff4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ jobs:
run: rebar3 as prod release
- name: Build distribution release
run: rebar3 as distro release
env:
SKIP_DEPS: true
- name: Upload test and coverage results
uses: actions/upload-artifact@v3
if: always()
Expand Down
2 changes: 1 addition & 1 deletion rebar.config.script
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ case os:getenv("SKIP_DEPS") of
"true" ->
SkipOpts = [deps, plugins],
lists:foldl(fun(Opt, Acc) ->
Delete(Opt, 1, Acc)
Delete(Opt, Acc)
end, Config1, SkipOpts);
_ ->
Config1
Expand Down

0 comments on commit b79ff4d

Please sign in to comment.