Skip to content
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

proposal: Change build dir from env.HOME to tempdir #790

Open
3 tasks done
TobiasJa opened this issue Oct 18, 2022 · 1 comment
Open
3 tasks done

proposal: Change build dir from env.HOME to tempdir #790

TobiasJa opened this issue Oct 18, 2022 · 1 comment
Assignees
Labels

Comments

@TobiasJa
Copy link

Checklist

  • I am using the latest version of this action.
  • I have read the latest README and followed the instructions.
  • I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.

Describe your proposal

Due to the use of self-hosted actions-runner, which are also suitable for cluster deployment, our containers are run without a specific user. These do not have a home directory and also do not have root-level rights. Therefore, during a deployment, the following ERROR always occurred:

Error: action failed with "EACCES: permission denied, mkdir '/actions_github_pages_1666106344373'"
gh_pages_error

Describe the solution you'd like

Changing the environment variable env.Home to a folder that has appropriate permissions brought a quickfix here.
However, it would be nicer if the Temp directory will be used instead of the Home directory (linux: /tmp, windows: %appdata%/Local/Temp) or the current working directory of the actions runner was read via PWD.

Describe alternatives you've considered

No response

Additional context

No response

@peaceiris
Copy link
Owner

Thank you for your suggestion! This should be included in the next major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants