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: Update actions/upload-artifact to v4 #13489

Merged
merged 4 commits into from
Aug 28, 2024
Merged

Conversation

mydea
Copy link
Member

@mydea mydea commented Aug 28, 2024

It keeps complaining that this is deprecated, so bumping this to v4.

@mydea mydea requested a review from lforst August 28, 2024 07:31
@mydea mydea self-assigned this Aug 28, 2024
@mydea mydea force-pushed the fn/update-playwright-action branch from 63d431b to e9e44b4 Compare August 28, 2024 08:02
uses: actions/upload-artifact@v3
if: always()
uses: actions/upload-artifact@v4
if: failure()
Copy link
Member Author

Choose a reason for hiding this comment

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

I adjusted this to only store these on failure, I think this is good enough? Then we do not have to store all the traces all the time when we do not need them.

Copy link
Member

Choose a reason for hiding this comment

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

Traces should in general only be generated on failure - making this kinda moot - but we will save the ci time for the job running I guess.

Copy link
Member Author

Choose a reason for hiding this comment

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

Jup, it seems to work, see here: https://github.com/getsentry/sentry-javascript/actions/runs/10593166442/attempts/1 there are two artifacts, for the two failed jobs.

@mydea mydea merged commit 14e56c7 into develop Aug 28, 2024
128 checks passed
@mydea mydea deleted the fn/update-playwright-action branch August 28, 2024 09:10
lforst added a commit that referenced this pull request Aug 28, 2024
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