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

HOME environment variable not set on Windows machines #1301

Closed
1 of 6 tasks
axel-op opened this issue Jul 26, 2020 · 2 comments
Closed
1 of 6 tasks

HOME environment variable not set on Windows machines #1301

axel-op opened this issue Jul 26, 2020 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: Windows

Comments

@axel-op
Copy link

axel-op commented Jul 26, 2020

Describe the bug
On this page of the documentation, the HOME environment variable is listed as a default variable which should be set "in all runner environments", however it is not when using windows-latest environments.

Area for Triage: JavaScript and Node.js

Question, Bug, or Feature?: Bug

Virtual environments affected

  • macOS 10.15
  • Ubuntu 16.04 LTS
  • Ubuntu 18.04 LTS
  • Ubuntu 20.04 LTS
  • Windows Server 2016 R2: haven't tested with this one
  • Windows Server 2019

Expected behavior
The HOME environment variable should be set, or the documentation should be edited.

Actual behavior

A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.

In a Javascript action, check the keys of the process.env dictionary.

@github-actions github-actions bot added investigate Collect additional information, like space on disk, other tool incompatibilities etc. needs triage labels Jul 26, 2020
@dibir-magomedsaygitov dibir-magomedsaygitov added OS: Windows documentation Improvements or additions to documentation and removed needs triage labels Jul 26, 2020
@maxim-lobanov
Copy link
Contributor

Hello, thank you for report.
Actually, HOME variable doesn't exist in Windows by default. Instead it has HOMEPATH and USERPROFILE (contains the same value).
We will consider adding variable for consistency or updating documentation

@maxim-lobanov
Copy link
Contributor

Hello, we wouldn't like to add new variable to Windows environments. We will update documentation to avoid confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: Windows
Projects
None yet
Development

No branches or pull requests

5 participants