Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Octokit to support fetching artifacts as soon as a single job is complete #58

Closed
cwbusacker opened this issue Mar 13, 2024 · 0 comments · Fixed by #65
Closed

Comments

@cwbusacker
Copy link
Contributor

cwbusacker commented Mar 13, 2024

I have several jobs that run simultaneously. Unfortunately, artifacts don't become accessible until all jobs are complete. Since the artifacts aren't available yet, a "null" commit comes back as the compare commit when I push new commits before all the tests are complete. This is because the previous artifact has been deleted and not all the jobs have been completed yet.

See the github issue here:
actions/upload-artifact#181

This has been fixed in actions/upload-artifact so I wonder if we can do the same.

Here is the code they use to upload the file (for reference):
https://github.com/actions/upload-artifact/blob/main/src/shared/upload-artifact.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant