Skip to content

setup-dhall fails with Cannot read properties of undefined (reading 'browser_download_url') #8

@TristanCacqueray

Description

@TristanCacqueray

It seems like the action is broken by failing with:

Run dhall-lang/setup-dhall@v4
  with:
    version: latest
Fetching dhall releases from https://api.github.com/repos/dhall-lang/dhall-haskell/releases/latest
/home/runner/work/_actions/dhall-lang/setup-dhall/v4/src/action.js:61
    core: coreRelease.browser_download_url,
                      ^

TypeError: Cannot read properties of undefined (reading 'browser_download_url')
    at fetchReleases (/home/runner/work/_actions/dhall-lang/setup-dhall/v4/src/action.js:61:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async run (/home/runner/work/_actions/dhall-lang/setup-dhall/v4/src/action.js:104:16)

Example run: https://github.com/change-metrics/demo-node-config/actions/runs/7453463971/job/20278886176?pr=8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions