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: Ensure paths-filter action works on push events #4528

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

rschristian
Copy link
Member

It seems dorny/paths-filter (which we use for the CI workflow) specifically fails on push events, unable to find the Git repo. Adding an explicit checkout stage seems to be the fix.

Comment on lines -23 to 24
required: false
required: true
- run: mv preact.tgz preact-main.tgz
Copy link
Member Author

Choose a reason for hiding this comment

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

This is very much required, as the very next step (as well as other steps later in the flow) require that asset to exist. Therefore, setting required: false just moves the error lower, to the attempt to move the (non-)extracted asset.

@rschristian rschristian merged commit d54bd31 into main Oct 12, 2024
7 checks passed
@rschristian rschristian deleted the ci/fix-paths-filter branch October 12, 2024 05:52
@JoviDeCroock JoviDeCroock mentioned this pull request Oct 13, 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.

2 participants