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

Try: to upload cli logs as artifact. #225

Merged
merged 4 commits into from
Oct 16, 2024

Conversation

korvyashka
Copy link
Contributor

Tries: to upload logs as artifcat if cli command failed in execution.

@korvyashka korvyashka marked this pull request as draft October 16, 2024 12:45
@korvyashka korvyashka marked this pull request as ready for review October 16, 2024 13:55
@korvyashka korvyashka merged commit 17b6423 into master Oct 16, 2024
4 checks passed
Comment on lines +57 to +58
- name: Upload artifacts of failed screenly cli command
uses: actions/upload-artifact@v4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if: ${{ steps.run-cli.outcome != 'success' }}

Should also be like this, otherwise it will upload even successful builds.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's expected, we have to change a step name

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.

3 participants