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

Add the Release workflow logs as a release artifact? #483

Open
jenstroeger opened this issue Feb 26, 2023 · 1 comment
Open

Add the Release workflow logs as a release artifact? #483

jenstroeger opened this issue Feb 26, 2023 · 1 comment
Assignees
Labels
ci Improvements or additions to CI checks good first issue Good for newcomers question Further information is requested

Comments

@jenstroeger
Copy link
Owner

jenstroeger commented Feb 26, 2023

@behnazh would it make sense to store the Actions log (all jobs) from the release.yaml workflow as part of the release artifacts? It looks like the Github API allows to download these logs, and considering that workflow logs can be deleted it would be useful to keep them?1

I ask because I needed to debug a failed run and had to look through older logs too… 🤔

Footnotes

  1. We’d probably have to do that in a separate workflow that triggers when the release.yaml workflow has finished, to get the complete logs of all workflow jobs.

@jenstroeger jenstroeger added question Further information is requested ci Improvements or additions to CI checks labels Feb 26, 2023
@behnazh
Copy link
Collaborator

behnazh commented Apr 2, 2023

@behnazh would it make sense to store the Actions log (all jobs) from the release.yaml workflow as part of the release artifacts? It looks like the Github API allows to download these logs, and considering that workflow logs can be deleted it would be useful to keep them?1

I ask because I needed to debug a failed run and had to look through older logs too… thinking

Footnotes

1. We’d probably have to do that in a separate workflow that triggers when the `release.yaml` workflow has finished, to get the complete logs of [all workflow jobs](https://docs.github.com/en/rest/actions/workflow-jobs?apiVersion=2022-11-28#list-jobs-for-a-workflow-run). [leftwards_arrow_with_hook](#user-content-fnref-*-4f8b0215c0ef05456c9666ba4fafd041)

Sure, that should be useful.

@jenstroeger jenstroeger added the good first issue Good for newcomers label Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Improvements or additions to CI checks good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants