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

ci: collect Meson's log files on failed builds #99

Merged
merged 2 commits into from
Feb 14, 2021

Conversation

jhenstridge
Copy link
Contributor

Add an extra step to the CI to collect the meson log files if the job fails. Each job has a unique artifact name so that logs from different matrix runs don't overwrite each other.

@robert-ancell
Copy link
Contributor

Thanks @jhenstridge!

@jhenstridge
Copy link
Contributor Author

Okay. It should actually work now. The upload-artifact action did not like artifact names containing colons, so I needed to sanitise the image name before using it as an artifact name.

Here is a run where a job failed:

https://github.com/snapcore/snapd-glib/actions/runs/560008846

(I realise that it has used logs-logs-* as the name in this run: I've since corrected that).

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 this pull request may close these issues.

2 participants