Skip to content

[CI] Fix and display changed dist files in the CI #2503

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

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented Jan 13, 2025

Q A
Bug fix? no
New feature? no
Issues Fix #...
License MIT

When working on https://github.com/symfony/stimulus-bridge, I've added a new job CI that shows when dist files are up-to-date or need to be build.

No surprise, I re-used what was on UX, but I found it was not correct: https://github.com/symfony/stimulus-bridge/actions/runs/12743300005/job/35512968204?pr=96
image

The command that checks if files are up-to-date fails, to me it is not working as expected.

Instead, I've simplified things and added a git diff to display the changes:
image

WDYT?

@carsonbot carsonbot added the Status: Needs Review Needs to be reviewed label Jan 13, 2025
@Kocal Kocal self-assigned this Jan 13, 2025
@Kocal Kocal requested review from kbond, smnandre and WebMamba January 13, 2025 21:48
Copy link
Member

@kbond kbond left a comment

Choose a reason for hiding this comment

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

Nice!

@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Jan 13, 2025
@Kocal Kocal merged commit 0064420 into symfony:2.x Jan 14, 2025
58 of 59 checks passed
@Kocal Kocal deleted the imp/ci-show-dist-files-diff branch April 11, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Reviewed Has been reviewed by a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants