- Symptom
- Artifact zip lacks files whose names start with a dotDownstream deploy job fails because the build folder is emptyWarning that no files were found for a path pointing at a dot folder
- Cause
- Since September 2, 2024 (upload-artifact v4.4.0), hidden files and anything inside dot folders are excluded by default to avoid leaking credentials.
- Fix
- Set include-hidden-files: true and exclude sensitive files explicitly in path.
- Apply
- uses: actions/upload-artifact@v4 with: name: build include-hidden-files: true path: | .next/ !.next/cache/- Affected
- actions/upload-artifact v4.4.0 and later, since 2024-09-02
- Sources
Last verified 2026-10-15 · Confirmed by 0 builders