Skip to content

[BUG]: Release Artifact upload on GHES not possible #810

@lure8225

Description

@lure8225

What happened?

When trying to upload via GitHub Script via uploadReleaseAsset I get an ECONNREFUSED as my GHA runner is isolated from the internet and can only reach my GHES instance.

It should upload to my GHES instance but it seems like the default baseURL is overwritten for this.

{ baseUrl: "https://uploads.github.com" },

via this commit
4abd16e

Versions

which ever version is included in actions/github-script@v6
however I can see the same code on the main branch right now

Relevant log output

Unhandled error: HttpError: request to https://uploads.github.com/repos/XXXX/XXXX/releases/3280/assets?name=XXXXX_1.33.0_all.deb&label=Binary%20Debian%20package%20%28%F0%9F%90%A7%29 failed, reason: connect ECONNREFUSED 140.82.121.14:443

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    🆕 Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions