Skip to content

Conversation

@shvlv
Copy link
Contributor

@shvlv shvlv commented Feb 13, 2025

Issue

The uploading artifact fails with Warning: No files were found with the provided path: .pup-zip. No artifacts will be uploaded. notice.

Solution

It's related to the BC of actions/upload-artifact@v4: include-hidden-files is false by default (see https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md#hidden-files). That's why we must add include-hidden-files: true to upload files from the .pup-zip directory. I've tested it in our project; it works as expected.

@shvlv shvlv requested a review from borkweb February 13, 2025 19:19
@borkweb borkweb merged commit 78d56dd into main Feb 13, 2025
@borkweb borkweb deleted the fix/upload-artifact branch February 13, 2025 19:21
@borkweb
Copy link
Member

borkweb commented Feb 13, 2025

Thank you for the fix, @shvlv! 🕺

shvlv added a commit to stellarwp/pup that referenced this pull request Feb 13, 2025
borkweb added a commit to stellarwp/pup that referenced this pull request Feb 14, 2025
Update the documentation to stay in sync with
stellarwp/github-actions#15 changes.
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