You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a github bot (build with probot) that downloads artifacts from completed workflows in order to post their content elsewhere.
after a "workflow_run.completed" webhook is received by this bot, it checks for any existing artifacts with a specific name for the given workflow_run
and tries to download them using:
Would expect that the rest api would download my artifact regardless of how it was uploaded
How can we reproduce it?
Errors only occur in specific environments once our bot is deployed to our organization's cluster, no current knowledge on what exactly causes this issue.
Does not seem to happen when bot server is run locally or on github or self-hosted runners
Anything else we need to know?
The aforementioned bot is private and i can not share it here publicly.
What version of the action are you using?
v4
What are your runner environments?
self-hosted
Are you on GitHub Enterprise Server? If so, what version?
No response
The text was updated successfully, but these errors were encountered:
Ari-Kishon
changed the title
DownloadArtifact via octokit returns 500 if the artifact is uploaded using v4
DownloadArtifact via octokit (js) returns 500 if the artifact is uploaded using v4
Aug 6, 2024
i was getting the same issue, the last working versions of v4 are v4.1.4 of download artifact and v4.3.3 of upload artifact. After that someone did something really bad. Ironically v3 is faster than v4 and they're going to deprecate v3 🙂
What happened?
We have a github bot (build with probot) that downloads artifacts from completed workflows in order to post their content elsewhere.
after a "workflow_run.completed" webhook is received by this bot, it checks for any existing artifacts with a specific name for the given workflow_run
and tries to download them using:
or
both these methods work well when the artifact is uploaded via V3.
If the artifacts are uploaded by V4 we get the following error:
What did you expect to happen?
Would expect that the rest api would download my artifact regardless of how it was uploaded
How can we reproduce it?
Errors only occur in specific environments once our bot is deployed to our organization's cluster, no current knowledge on what exactly causes this issue.
Does not seem to happen when bot server is run locally or on github or self-hosted runners
Anything else we need to know?
The aforementioned bot is private and i can not share it here publicly.
What version of the action are you using?
v4
What are your runner environments?
self-hosted
Are you on GitHub Enterprise Server? If so, what version?
No response
The text was updated successfully, but these errors were encountered: