-
I have a docs build action for PHPMailer that passes artifacts between two jobs in a single workflow, but it’s failing with this error:
As far as I can see I’ve followed what the docs say - so why don’t I have access to this path? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
In the case of actions that use a Dockerfile those files are probably created as the root user inside the container. Because the upload-artifact action runs as the runner user you will need to sudo chmod the permissions on those files so the runner user can read them. |
Beta Was this translation helpful? Give feedback.
-
I attempted to chmod the path that it was complaining about, but it said it didn’t exist! A solution was found by merging the build and publish steps into one job, so that it didn’t need to use the upload/download steps at all. |
Beta Was this translation helpful? Give feedback.
I attempted to chmod the path that it was complaining about, but it said it didn’t exist!
A solution was found by merging the build and publish steps into one job, so that it didn’t need to use the upload/download steps at all.