Skip to content

Commit

Permalink
[bot] Update dist directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz authored and github-actions[bot] committed Jun 14, 2024
1 parent 5f1c582 commit b532389
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 20 deletions.
10 changes: 6 additions & 4 deletions dist/dependency-submission/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
}
Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion dist/dependency-submission/main/index.js.map

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions dist/dependency-submission/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
}
Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion dist/dependency-submission/post/index.js.map

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions dist/setup-gradle/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
}
Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion dist/setup-gradle/main/index.js.map

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions dist/setup-gradle/post/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
}
}
Expand All @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion dist/setup-gradle/post/index.js.map

Large diffs are not rendered by default.

0 comments on commit b532389

Please sign in to comment.