Add the Release workflow logs as a release artifact?
@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?[^*]
I ask because I needed to debug a failed run and had to look through older logs too… 🤔
[^*]: 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.
@behnazh would it make sense to store the Actions log (all jobs) from the
release.yamlworkflow 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?1I 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.