We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I am trying the preview of GitHub Actions on GitHub Enterprise Sever and found that tool-cahe was hard linked to the public GitHub: https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L557
Using the modified context from #576 or process.env.GITHUB_HOST ?? "https://api.github.com directly would solve the issue.
process.env.GITHUB_HOST ?? "https://api.github.com
I've not searched yet for other similar issues in the toolkit. This was where the toolkit died first because it didn't have internet access.
The text was updated successfully, but these errors were encountered:
Just spotted this too. It was raised back in 2020, can we get an update, looks like a really simple fix?
Sorry, something went wrong.
fix(tool-cache): support enterprise instances
584c6fe
Remove hard code api.github.com reference in tool-cache so that it works when used in GitHub Enterprise instances. Fixes actions#644
This is an easy fix and the PR is ready. Please merge it and close this silly issue 😄
Successfully merging a pull request may close this issue.
Hello,
I am trying the preview of GitHub Actions on GitHub Enterprise Sever and found that tool-cahe was hard linked to the public GitHub:
https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L557
Using the modified context from #576 or
process.env.GITHUB_HOST ?? "https://api.github.com
directly would solve the issue.I've not searched yet for other similar issues in the toolkit. This was where the toolkit died first because it didn't have internet access.
The text was updated successfully, but these errors were encountered: