upload-pages-artifact
upload-pages-artifact copied to clipboard
The runner.temp directory may not exist in a container
Running this action in a container fails because the runner.temp
directory doesn't exist. Perhaps the temp dir could be passed to the action as an option?
This seems to be related to https://github.com/actions/runner/issues/965.
It looks like only the runner.temp
in the tar
command incorrectly refers to the host temp directory. The runner.temp
in the upload-artifact
step correctly points into the container.
It looks like only the
runner.temp
in thetar
command incorrectly refers to the host temp directory. Therunner.temp
in theupload-artifact
step correctly points into the container.
Can you link to a workflow run illustrating this?
Sure, here's an example: https://github.com/nilsvu/gwpv/runs/8093009319?check_suite_focus=true

Then after just creating the runner.temp
directory manually within the container the tar
goes through but the upload fails: https://github.com/nilsvu/gwpv/runs/8093544512?check_suite_focus=true

So there seems to be some inconsistent handling of runner.temp
with containers.