-
Notifications
You must be signed in to change notification settings - Fork 989
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
cache actions on premises and download from .com #381
Conversation
We might need to also not supply the token in this case. Not sure. We know that not having a token from dotcom will rate limit us (anonymous). However, if we supply the wrong token (the one from ghes), the first request might fail. |
add9e7d
to
31b8628
Compare
if (!string.IsNullOrEmpty(authToken)) | ||
var configurationStore = HostContext.GetService<IConfigurationStore>(); | ||
var isHostedServer = configurationStore.GetSettings().IsHostedServer; | ||
if (isHostedServer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the diff looks bad, but adding auth header just moved inside if block
This PR enables downloading actions for GHES alpha. The goal is
actions/checkout
works in GHES alpha.For alpha only, the following changes
For beta, a different solution will be used (actions shipped in box).