-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Artifact doesn't exist when it does? #29
Comments
I've not had this issue myself, but it does make me wonder if the different steps are running in new containers without shared state. I've certainly seen people report that, and resort to temporary uploads/downloads for example: I guess the simplest way to test would be to add a step between your zip and upload actions. Something like:
(The way I do things is to add a ".github/build" script to do the build, then just run the two actions after each other. e.g:
That always seems to work, with the second step running ".githhub/build" and the third step uploading the result. Sample https://github.com/skx/rss2email/tree/master/.github |
https://medium.com/@fonseka.live/sharing-data-in-github-actions-a9841a9a6f42 implies You could try updating the |
I did manage to get this working last night with the exact same flow, except swapping out your action with I think you're right about the data but I think it is something specific to the fact that your action runs in a Docker container whereas the others, including that one there, do not. Maybe as you say only the I have it working now so I need to finish up there, but once done I will try to loop back to test this more at least so we known. |
Yes I wonder if docker is to blame - you can certainly see the shared volumes being documented in the command-lines which are echo'd as the various stages run. I wonder if I should depreciate this action now, if there's an "official" one beneath the /actions namespace. I'll have to find some time this/next week myself to test things out. |
I've been beating my head against the wall on this all day today and I don't know what I am doing wrong.
I build the project, copy some files, and zip them up in steps before this one. Then I call this one with the path to the ZIP file that should be added to the release.
Yet it always tells me the artifact doesn't exist, despite it clearly being there. I even used
ls
to output the files after zipping them to verify, yes, the zip file is there as expected.I'm wondering if there is some cross docker barrier or something I am running into? I don't know anything about docker :(
You can see a run here: https://github.com/KSP-RO/RSSTimeFormatter/runs/2755047394?check_suite_focus=true
Here is one of the failures with the relevant (I think) bits highlighted
The text was updated successfully, but these errors were encountered: