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

Self-hosted Win 10: Warning 'gh' is not recognized as an internal or external command #390

Closed
Carsten-MaD opened this issue Apr 21, 2022 · 2 comments · Fixed by #387
Closed
Assignees
Labels
bug Something isn't working

Comments

@Carsten-MaD
Copy link

Bug description

When I try to build a Unity game on a self-hosted Windows 10 runner, I get the following warning message:

'gh' is not recognized as an internal or external command,
operable program or batch file.

Workaround
Installing GitHub CLI for Windows solves the problem.

Error Log

Run game-ci/unity-builder@v2
Warning: 
      Library folder does not exist.
      Consider setting up caching to speed up your workflow,
      if this is not your first build.
    
Using android versionCode 0
[Client] Error: Command failed: gh auth status -t
'gh' is not recognized as an internal or external command,
operable program or batch file.

Error: Command failed: gh auth status -t
'gh' is not recognized as an internal or external command,
operable program or batch file.
@Carsten-MaD Carsten-MaD added the bug Something isn't working label Apr 21, 2022
@frostebite
Copy link
Member

Thanks for sharing this issue with us.

You can install gh (GitHub CLI) to unblock this issue immediately.

I will hotfix this so the check for the GitHub CLI doesn't fail like this shortly and update this ticket.

@frostebite
Copy link
Member

Should be resolved in cloud-runner-develop latest. Will include fix in:
#387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants