mirror of
https://github.com/gradle/actions
synced 2024-11-23 18:02:13 +00:00
[bot] Update dist directory
This commit is contained in:
parent
5f1c5827bf
commit
b53238971c
8 changed files with 28 additions and 20 deletions
10
dist/dependency-submission/main/index.js
vendored
10
dist/dependency-submission/main/index.js
vendored
|
@ -145153,11 +145153,11 @@ async function setupToken(develocityAccessKey, develocityTokenExpiry, enforceUrl
|
|||
exportAccessKeyEnvVars(token);
|
||||
}
|
||||
else {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
core.warning(`Failed to fetch short-lived token, reason: ${e}`);
|
||||
}
|
||||
}
|
||||
|
@ -145167,11 +145167,13 @@ function exportAccessKeyEnvVars(value) {
|
|||
;
|
||||
[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar].forEach(key => core.exportVariable(key, value));
|
||||
}
|
||||
function clearAccessKeyEnvVarsWithDeprecationWarning() {
|
||||
function handleMissingAccessTokenWithDeprecationWarning() {
|
||||
if (process.env[configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar]) {
|
||||
(0, deprecation_collector_1.recordDeprecation)(`The ${configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar} env var is deprecated`);
|
||||
}
|
||||
core.exportVariable(configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, '');
|
||||
if (process.env[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar]) {
|
||||
core.warning(`Failed to fetch short-lived token, using Develocity Access key`);
|
||||
}
|
||||
}
|
||||
async function getToken(enforceUrl, serverUrl, accessKey, expiry) {
|
||||
const empty = new Promise(r => r(null));
|
||||
|
|
2
dist/dependency-submission/main/index.js.map
vendored
2
dist/dependency-submission/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
10
dist/dependency-submission/post/index.js
vendored
10
dist/dependency-submission/post/index.js
vendored
|
@ -96310,11 +96310,11 @@ async function setupToken(develocityAccessKey, develocityTokenExpiry, enforceUrl
|
|||
exportAccessKeyEnvVars(token);
|
||||
}
|
||||
else {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
core.warning(`Failed to fetch short-lived token, reason: ${e}`);
|
||||
}
|
||||
}
|
||||
|
@ -96324,11 +96324,13 @@ function exportAccessKeyEnvVars(value) {
|
|||
;
|
||||
[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar].forEach(key => core.exportVariable(key, value));
|
||||
}
|
||||
function clearAccessKeyEnvVarsWithDeprecationWarning() {
|
||||
function handleMissingAccessTokenWithDeprecationWarning() {
|
||||
if (process.env[configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar]) {
|
||||
(0, deprecation_collector_1.recordDeprecation)(`The ${configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar} env var is deprecated`);
|
||||
}
|
||||
core.exportVariable(configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, '');
|
||||
if (process.env[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar]) {
|
||||
core.warning(`Failed to fetch short-lived token, using Develocity Access key`);
|
||||
}
|
||||
}
|
||||
async function getToken(enforceUrl, serverUrl, accessKey, expiry) {
|
||||
const empty = new Promise(r => r(null));
|
||||
|
|
2
dist/dependency-submission/post/index.js.map
vendored
2
dist/dependency-submission/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
10
dist/setup-gradle/main/index.js
vendored
10
dist/setup-gradle/main/index.js
vendored
|
@ -145081,11 +145081,11 @@ async function setupToken(develocityAccessKey, develocityTokenExpiry, enforceUrl
|
|||
exportAccessKeyEnvVars(token);
|
||||
}
|
||||
else {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
core.warning(`Failed to fetch short-lived token, reason: ${e}`);
|
||||
}
|
||||
}
|
||||
|
@ -145095,11 +145095,13 @@ function exportAccessKeyEnvVars(value) {
|
|||
;
|
||||
[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar].forEach(key => core.exportVariable(key, value));
|
||||
}
|
||||
function clearAccessKeyEnvVarsWithDeprecationWarning() {
|
||||
function handleMissingAccessTokenWithDeprecationWarning() {
|
||||
if (process.env[configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar]) {
|
||||
(0, deprecation_collector_1.recordDeprecation)(`The ${configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar} env var is deprecated`);
|
||||
}
|
||||
core.exportVariable(configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, '');
|
||||
if (process.env[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar]) {
|
||||
core.warning(`Failed to fetch short-lived token, using Develocity Access key`);
|
||||
}
|
||||
}
|
||||
async function getToken(enforceUrl, serverUrl, accessKey, expiry) {
|
||||
const empty = new Promise(r => r(null));
|
||||
|
|
2
dist/setup-gradle/main/index.js.map
vendored
2
dist/setup-gradle/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
10
dist/setup-gradle/post/index.js
vendored
10
dist/setup-gradle/post/index.js
vendored
|
@ -142534,11 +142534,11 @@ async function setupToken(develocityAccessKey, develocityTokenExpiry, enforceUrl
|
|||
exportAccessKeyEnvVars(token);
|
||||
}
|
||||
else {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
clearAccessKeyEnvVarsWithDeprecationWarning();
|
||||
handleMissingAccessTokenWithDeprecationWarning();
|
||||
core.warning(`Failed to fetch short-lived token, reason: ${e}`);
|
||||
}
|
||||
}
|
||||
|
@ -142548,11 +142548,13 @@ function exportAccessKeyEnvVars(value) {
|
|||
;
|
||||
[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar].forEach(key => core.exportVariable(key, value));
|
||||
}
|
||||
function clearAccessKeyEnvVarsWithDeprecationWarning() {
|
||||
function handleMissingAccessTokenWithDeprecationWarning() {
|
||||
if (process.env[configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar]) {
|
||||
(0, deprecation_collector_1.recordDeprecation)(`The ${configuration_1.BuildScanConfig.GradleEnterpriseAccessKeyEnvVar} env var is deprecated`);
|
||||
}
|
||||
core.exportVariable(configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar, '');
|
||||
if (process.env[configuration_1.BuildScanConfig.DevelocityAccessKeyEnvVar]) {
|
||||
core.warning(`Failed to fetch short-lived token, using Develocity Access key`);
|
||||
}
|
||||
}
|
||||
async function getToken(enforceUrl, serverUrl, accessKey, expiry) {
|
||||
const empty = new Promise(r => r(null));
|
||||
|
|
2
dist/setup-gradle/post/index.js.map
vendored
2
dist/setup-gradle/post/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue