You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci): correct glob pattern for finding downloaded release assets
The `create-release` job was failing to attach assets to the GitHub
Release because the `files` glob pattern was incorrect.
When `actions/download-artifact@v4` downloads multiple artifacts without
a specific name (as used in this job), it places each artifact's contents
into a subdirectory named after the artifact within the specified `path`
(e.g., `release-assets/release-asset-x86_64-unknown-linux-gnu/`).
The previous glob pattern `release-assets/*` matched these subdirectories,
but the `softprops/action-gh-release` action requires paths to the actual
files to be uploaded.
This commit changes the glob pattern to `release-assets/*/*`, which
correctly finds the archive files (`.tar.gz`, `.zip`) located *inside*
the subdirectories created by the download step, allowing them to be
successfully attached to the release.
0 commit comments