Conversation
There was a problem hiding this comment.
Pull request overview
Updates the repository README to document the archive input (introduced in v7) and explain how to upload a single file without pre-zipping it.
Changes:
- Adds
archiveto the Inputs section with behavioral notes forarchive: false. - Adds a new “Upload without archiving (zipping)” section with a YAML example.
- Updates the “Zip archives” limitation text to describe the default behavior and the
archive: falseexception.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| # Whether to archive files before uploading. | ||
| # When set to 'true', the artifact will be archived (.zip format) before uploading. | ||
| # When set to 'false, the artifact will be uploaded as-is without archiving. | ||
| # Notes when set to 'false': | ||
| # Only individual files can be uploaded without archiving. | ||
| # The action will fail when the specified glob patterns resolve to multiple files. | ||
| # The name of the file is used as the artifact name (the 'name' input is ignored). | ||
| # Optional. Default is 'true' | ||
| archive: |
There was a problem hiding this comment.
This new archive input is described inside the Inputs example that still shows uses: actions/upload-artifact@v4 earlier in the snippet. Since the README also states this behavior is "As of v7", this is inconsistent and may mislead users of v4. Please either update the example version to @v7 (and/or update other examples), or explicitly note here that archive is only supported in v7+.
- Removing stray spaces. - Correcting local heading link. - Grammar fix. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This updates the README.md file to properly document the
archiveinput added in v7.0.0.