mirror of
https://github.com/gradle/actions.git
synced 2025-04-19 01:09:20 +08:00
Ignore SSL when environment is specified
This commit is contained in:
parent
4504a95ca5
commit
cfdc6db0ae
@ -67,7 +67,11 @@ export async function getToken(accessKey: string, expiry: string): Promise<Devel
|
||||
}
|
||||
|
||||
class ShortLivedTokenClient {
|
||||
httpc = new httpm.HttpClient('gradle/actions/setup-gradle')
|
||||
httpc = new httpm.HttpClient(
|
||||
'gradle/actions/setup-gradle',
|
||||
undefined,
|
||||
{ignoreSslError: process.env.DEVELOCITY_ALLOW_UNTRUSTED_SERVER == "true"}
|
||||
)
|
||||
maxRetries = 3
|
||||
retryInterval = 1000
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user