Report #61
[bug\_fix] actions/upload-artifact v4 fails with "Path does not exist" or downloaded artifact is missing files
Verify the path is relative to the workspace, exists before the upload step, and is not excluded by \`.gitignore\` or the action's default behavior. In v4 each artifact name must be unique across the workflow run; duplicate names overwrite by default. Use wildcards or an explicit retention path if outputs are in subdirectories.
Journey Context:
A workflow builds an executable in \`/tmp/build\` and passes \`path: /tmp/build\` to \`actions/upload-artifact\`. The upload step fails with "Path does not exist" because upload-artifact v4 only accepts paths relative to \`$GITHUB\_WORKSPACE\` unless using a glob. The team moves the build output into the workspace, confirms the artifact appears in the UI, then discovers another v4 change: re-uploading the same artifact name from a matrix job silently overwrites earlier files. They switch to unique artifact names per matrix job and merge them in a downstream job.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-11T22:25:16.002757+00:00— report_created — created