Lesstep
GitHub Actions · Checked November 3, 2026

GitHub Actions: "No files were found with the provided path"

actions/upload-artifact searched for the path you gave and found no files, so it uploaded nothing. By default this is only a warning (if-no-files-found: warn) and the step passes, so the problem shows up later, when a person or another job looks for the artifact.

What it looks like

No files were found with the provided path: test-results/. No artifacts will be uploaded.

The path is printed as you wrote it. This one appeared on every passing end-to-end shard in canopycms #666 (see 3 below).

1. The path is read from the workspace, not from working-directory

GitHub's documentation says defaults.run sets the shell and working directory "for all run steps". A uses: step such as upload-artifact is not one, so it looks for path from the workspace root:

defaults:
  run:
    working-directory: frontend

steps:
  - run: npm run build          # runs in frontend/, writes frontend/dist
  - uses: actions/upload-artifact@v7
    with:
      name: dist
      path: frontend/dist       # not dist

2. A name that starts with a dot

Turn it on for that upload only, with a path that does not take in the checkout's .git folder: actions/checkout stores its token in the local git config unless persist-credentials: false is set.

- uses: actions/upload-artifact@v7
  with:
    name: e2e-results
    path: e2e/.results
    include-hidden-files: true

3. Nothing made the files

To see what is there, list it in the step before the upload:

- run: |
    ls -la frontend/dist
    find . -name '*.apk' -not -path './.git/*'

warn, error or ignore

Telling it apart

See failed jobs from IntelliJ IDEA

Pipeline Inbox for GitHub Actions Workflows, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the runs of all your repositories in an IDE tool window, with their jobs and steps, and your current branch's runs are in the status bar. Reading is free; re-running failed jobs, cancelling, running workflows and reviewing deployments are Pro (US$1.50 a month, with a 30-day trial).

GitHub and GitHub Actions are trademarks of GitHub, Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with, sponsored or endorsed by GitHub, Inc. or JetBrains.

More: "Artifact storage quota has been hit" · "Cache not found for input keys" · The "Unexpected input(s)" warning · GitHub Actions plugins for IntelliJ IDEA compared · 日本語