-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No files were found with the provided path: build. No artifacts will be uploaded. #232
Comments
Maybe try |
|
I found the problem, the upload-artifact action does not use the |
Hello can you please describe little more? |
@alanbosco003 I got the error because I used a build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./react
steps:
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile
- run: yarn build
- name: Archive build artifact
uses: actions/upload-artifact@v2
with:
name: react-bundle
path: react/react-bundle # ./react-bundle, ./react-bundle/*, react-bundle do not work
if-no-files-found: error |
I did like this but still showing the same error
Thanks, for the responce. it was my mistake. |
…see actions/upload-artifact#232 - formmated with black
This issue saved me 1 more hour of debugging. Why does it still take into account |
Thanks for the issue, I also don't know why it is still working like that. I guess backwards compatibility is the other issue if somebody wants to fix it 🤞 |
@konradpabjan Any thought on adding |
Seems like a good change for a 3.2 release :) |
In my case (Android Project) I need to specify the app as the root directory.
|
Is
|
No files were found with the provided path: cypress/videos. No artefacts will be uploaded.
I even changed my IF condition to always(), but no videos were in the specified folder. |
Trying to fix upload-artifact not finding the rock path. Similar issue: actions/upload-artifact#232.
Thank you for this. I'm having the same issue, but with a Windows server. I assume that the |
I have a default working directory: defaults:
run:
working-directory: ./nodejs-app Still couldn't upload the artifact. - name: prepare the staging env
run: mkdir test-results && cp test-report.html test-results
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-report.html
path: ./nodejs-app/test-results |
this works to me perfectly all the time and with artfact@v1 and 2
|
Describe the bug
I'm following the examples but I keep getting this error message:
No files were found with the provided path: build. No artifacts will be uploaded.
Version
Screenshots
![image](https://user-images.githubusercontent.com/24522620/123978617-4b95f880-d9c0-11eb-81e2-7d79ff7b4372.png)
How to reproduce
Try to upload a folder
Additional context
I've found a similar issue on StackOverflow but the solution didn't work for me.
The text was updated successfully, but these errors were encountered: