Skip to content

Commit

Permalink
debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ferd committed Jun 11, 2024
1 parent d0994d4 commit 2b92ff7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Compile
run: ./bootstrap
- name: CT tests
run: ./rebar3 ct
run: DIAGNOSTIC=1 ./rebar3 ct
- shell: bash
name: Dialyzer
run: |
Expand Down
3 changes: 2 additions & 1 deletion apps/rebar/src/rebar_packages.erl
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ update_package(Name, RepoConfig=#{name := Repo}, State) ->
?DEBUG("Getting definition for package ~ts from repo ~ts",
[Name, rebar_hex_repos:format_repo(RepoConfig)]),
try r3_hex_repo:get_package(get_package_repo_config(RepoConfig), Name) of
{ok, {200, _Headers, Releases}} ->
{ok, {200, _Headers, Package}} ->
#{releases := Releases} = Package,
_ = insert_releases(Name, Releases, Repo, ?PACKAGE_TABLE),
{ok, RegistryDir} = rebar_packages:registry_dir(State),
PackageIndex = filename:join(RegistryDir, ?INDEX_FILE),
Expand Down

0 comments on commit 2b92ff7

Please sign in to comment.