mirror of
https://github.com/gradle/actions.git
synced 2025-08-26 11:51:27 +08:00
[bot] Update dist directory
This commit is contained in:
parent
2289da045c
commit
dc97151e55
32
dist/dependency-submission/main/index.js
vendored
32
dist/dependency-submission/main/index.js
vendored
@ -144575,11 +144575,24 @@ class DependencyGraphConfig {
|
|||||||
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
||||||
}
|
}
|
||||||
getReportDirectory() {
|
getReportDirectory() {
|
||||||
return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
|
const param = core.getInput('dependency-graph-report-dir');
|
||||||
|
return path_1.default.resolve(getWorkspaceDirectory(), param);
|
||||||
}
|
}
|
||||||
getDownloadArtifactName() {
|
getDownloadArtifactName() {
|
||||||
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
||||||
}
|
}
|
||||||
|
getExcludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-projects');
|
||||||
|
}
|
||||||
|
getIncludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-include-projects');
|
||||||
|
}
|
||||||
|
getExcludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-configurations');
|
||||||
|
}
|
||||||
|
getIncludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -144845,6 +144858,13 @@ function parseNumericInput(paramName, paramValue, paramDefault) {
|
|||||||
return numericValue;
|
return numericValue;
|
||||||
}
|
}
|
||||||
exports.parseNumericInput = parseNumericInput;
|
exports.parseNumericInput = parseNumericInput;
|
||||||
|
function getOptionalInput(paramName) {
|
||||||
|
const paramValue = core.getInput(paramName);
|
||||||
|
if (paramValue.length > 0) {
|
||||||
|
return paramValue;
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
function getBooleanInput(paramName, paramDefault = false) {
|
function getBooleanInput(paramName, paramDefault = false) {
|
||||||
const paramValue = core.getInput(paramName);
|
const paramValue = core.getInput(paramName);
|
||||||
switch (paramValue.toLowerCase().trim()) {
|
switch (paramValue.toLowerCase().trim()) {
|
||||||
@ -144987,16 +145007,22 @@ async function setup(config) {
|
|||||||
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', 'true');
|
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', 'true');
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_CONTINUE_ON_FAILURE', config.getDependencyGraphContinueOnFailure());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_CONTINUE_ON_FAILURE', config.getDependencyGraphContinueOnFailure());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR', config.getJobCorrelator());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR', config.getJobCorrelator());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_ID', github.context.runId);
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_ID', github.context.runId.toString());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_REF', github.context.ref);
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_REF', github.context.ref);
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', (0, configuration_1.getWorkspaceDirectory)());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', (0, configuration_1.getWorkspaceDirectory)());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', config.getReportDirectory());
|
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', config.getReportDirectory());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_PROJECTS', config.getExcludeProjects());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations());
|
||||||
}
|
}
|
||||||
exports.setup = setup;
|
exports.setup = setup;
|
||||||
function maybeExportVariable(variableName, value) {
|
function maybeExportVariable(variableName, value) {
|
||||||
if (!process.env[variableName]) {
|
if (!process.env[variableName]) {
|
||||||
core.exportVariable(variableName, value);
|
if (value !== undefined) {
|
||||||
|
core.exportVariable(variableName, value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function complete(config) {
|
async function complete(config) {
|
||||||
|
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
22
dist/dependency-submission/post/index.js
vendored
22
dist/dependency-submission/post/index.js
vendored
@ -98524,11 +98524,24 @@ class DependencyGraphConfig {
|
|||||||
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
||||||
}
|
}
|
||||||
getReportDirectory() {
|
getReportDirectory() {
|
||||||
return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
|
const param = core.getInput('dependency-graph-report-dir');
|
||||||
|
return path_1.default.resolve(getWorkspaceDirectory(), param);
|
||||||
}
|
}
|
||||||
getDownloadArtifactName() {
|
getDownloadArtifactName() {
|
||||||
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
||||||
}
|
}
|
||||||
|
getExcludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-projects');
|
||||||
|
}
|
||||||
|
getIncludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-include-projects');
|
||||||
|
}
|
||||||
|
getExcludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-configurations');
|
||||||
|
}
|
||||||
|
getIncludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -98794,6 +98807,13 @@ function parseNumericInput(paramName, paramValue, paramDefault) {
|
|||||||
return numericValue;
|
return numericValue;
|
||||||
}
|
}
|
||||||
exports.parseNumericInput = parseNumericInput;
|
exports.parseNumericInput = parseNumericInput;
|
||||||
|
function getOptionalInput(paramName) {
|
||||||
|
const paramValue = core.getInput(paramName);
|
||||||
|
if (paramValue.length > 0) {
|
||||||
|
return paramValue;
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
function getBooleanInput(paramName, paramDefault = false) {
|
function getBooleanInput(paramName, paramDefault = false) {
|
||||||
const paramValue = core.getInput(paramName);
|
const paramValue = core.getInput(paramName);
|
||||||
switch (paramValue.toLowerCase().trim()) {
|
switch (paramValue.toLowerCase().trim()) {
|
||||||
|
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
32
dist/setup-gradle/main/index.js
vendored
32
dist/setup-gradle/main/index.js
vendored
@ -144563,11 +144563,24 @@ class DependencyGraphConfig {
|
|||||||
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
||||||
}
|
}
|
||||||
getReportDirectory() {
|
getReportDirectory() {
|
||||||
return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
|
const param = core.getInput('dependency-graph-report-dir');
|
||||||
|
return path_1.default.resolve(getWorkspaceDirectory(), param);
|
||||||
}
|
}
|
||||||
getDownloadArtifactName() {
|
getDownloadArtifactName() {
|
||||||
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
||||||
}
|
}
|
||||||
|
getExcludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-projects');
|
||||||
|
}
|
||||||
|
getIncludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-include-projects');
|
||||||
|
}
|
||||||
|
getExcludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-configurations');
|
||||||
|
}
|
||||||
|
getIncludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -144833,6 +144846,13 @@ function parseNumericInput(paramName, paramValue, paramDefault) {
|
|||||||
return numericValue;
|
return numericValue;
|
||||||
}
|
}
|
||||||
exports.parseNumericInput = parseNumericInput;
|
exports.parseNumericInput = parseNumericInput;
|
||||||
|
function getOptionalInput(paramName) {
|
||||||
|
const paramValue = core.getInput(paramName);
|
||||||
|
if (paramValue.length > 0) {
|
||||||
|
return paramValue;
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
function getBooleanInput(paramName, paramDefault = false) {
|
function getBooleanInput(paramName, paramDefault = false) {
|
||||||
const paramValue = core.getInput(paramName);
|
const paramValue = core.getInput(paramName);
|
||||||
switch (paramValue.toLowerCase().trim()) {
|
switch (paramValue.toLowerCase().trim()) {
|
||||||
@ -144975,16 +144995,22 @@ async function setup(config) {
|
|||||||
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', 'true');
|
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', 'true');
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_CONTINUE_ON_FAILURE', config.getDependencyGraphContinueOnFailure());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_CONTINUE_ON_FAILURE', config.getDependencyGraphContinueOnFailure());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR', config.getJobCorrelator());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR', config.getJobCorrelator());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_ID', github.context.runId);
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_ID', github.context.runId.toString());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_REF', github.context.ref);
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_REF', github.context.ref);
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', (0, configuration_1.getWorkspaceDirectory)());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', (0, configuration_1.getWorkspaceDirectory)());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', config.getReportDirectory());
|
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', config.getReportDirectory());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_PROJECTS', config.getExcludeProjects());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations());
|
||||||
}
|
}
|
||||||
exports.setup = setup;
|
exports.setup = setup;
|
||||||
function maybeExportVariable(variableName, value) {
|
function maybeExportVariable(variableName, value) {
|
||||||
if (!process.env[variableName]) {
|
if (!process.env[variableName]) {
|
||||||
core.exportVariable(variableName, value);
|
if (value !== undefined) {
|
||||||
|
core.exportVariable(variableName, value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function complete(config) {
|
async function complete(config) {
|
||||||
|
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
32
dist/setup-gradle/post/index.js
vendored
32
dist/setup-gradle/post/index.js
vendored
@ -144555,11 +144555,24 @@ class DependencyGraphConfig {
|
|||||||
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
||||||
}
|
}
|
||||||
getReportDirectory() {
|
getReportDirectory() {
|
||||||
return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
|
const param = core.getInput('dependency-graph-report-dir');
|
||||||
|
return path_1.default.resolve(getWorkspaceDirectory(), param);
|
||||||
}
|
}
|
||||||
getDownloadArtifactName() {
|
getDownloadArtifactName() {
|
||||||
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
||||||
}
|
}
|
||||||
|
getExcludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-projects');
|
||||||
|
}
|
||||||
|
getIncludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-include-projects');
|
||||||
|
}
|
||||||
|
getExcludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-configurations');
|
||||||
|
}
|
||||||
|
getIncludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -144825,6 +144838,13 @@ function parseNumericInput(paramName, paramValue, paramDefault) {
|
|||||||
return numericValue;
|
return numericValue;
|
||||||
}
|
}
|
||||||
exports.parseNumericInput = parseNumericInput;
|
exports.parseNumericInput = parseNumericInput;
|
||||||
|
function getOptionalInput(paramName) {
|
||||||
|
const paramValue = core.getInput(paramName);
|
||||||
|
if (paramValue.length > 0) {
|
||||||
|
return paramValue;
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
function getBooleanInput(paramName, paramDefault = false) {
|
function getBooleanInput(paramName, paramDefault = false) {
|
||||||
const paramValue = core.getInput(paramName);
|
const paramValue = core.getInput(paramName);
|
||||||
switch (paramValue.toLowerCase().trim()) {
|
switch (paramValue.toLowerCase().trim()) {
|
||||||
@ -144967,16 +144987,22 @@ async function setup(config) {
|
|||||||
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', 'true');
|
core.exportVariable('GITHUB_DEPENDENCY_GRAPH_ENABLED', 'true');
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_CONTINUE_ON_FAILURE', config.getDependencyGraphContinueOnFailure());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_CONTINUE_ON_FAILURE', config.getDependencyGraphContinueOnFailure());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR', config.getJobCorrelator());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_CORRELATOR', config.getJobCorrelator());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_ID', github.context.runId);
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_JOB_ID', github.context.runId.toString());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_REF', github.context.ref);
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_REF', github.context.ref);
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_SHA', getShaFromContext());
|
||||||
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', (0, configuration_1.getWorkspaceDirectory)());
|
maybeExportVariable('GITHUB_DEPENDENCY_GRAPH_WORKSPACE', (0, configuration_1.getWorkspaceDirectory)());
|
||||||
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', config.getReportDirectory());
|
maybeExportVariable('DEPENDENCY_GRAPH_REPORT_DIR', config.getReportDirectory());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_PROJECTS', config.getExcludeProjects());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_PROJECTS', config.getIncludeProjects());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS', config.getExcludeConfigurations());
|
||||||
|
maybeExportVariable('DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS', config.getIncludeConfigurations());
|
||||||
}
|
}
|
||||||
exports.setup = setup;
|
exports.setup = setup;
|
||||||
function maybeExportVariable(variableName, value) {
|
function maybeExportVariable(variableName, value) {
|
||||||
if (!process.env[variableName]) {
|
if (!process.env[variableName]) {
|
||||||
core.exportVariable(variableName, value);
|
if (value !== undefined) {
|
||||||
|
core.exportVariable(variableName, value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
async function complete(config) {
|
async function complete(config) {
|
||||||
|
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
22
dist/wrapper-validation/main/index.js
vendored
22
dist/wrapper-validation/main/index.js
vendored
@ -89987,11 +89987,24 @@ class DependencyGraphConfig {
|
|||||||
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
return DependencyGraphConfig.constructJobCorrelator(github.context.workflow, github.context.job, getJobMatrix());
|
||||||
}
|
}
|
||||||
getReportDirectory() {
|
getReportDirectory() {
|
||||||
return path_1.default.resolve(getWorkspaceDirectory(), 'dependency-graph-reports');
|
const param = core.getInput('dependency-graph-report-dir');
|
||||||
|
return path_1.default.resolve(getWorkspaceDirectory(), param);
|
||||||
}
|
}
|
||||||
getDownloadArtifactName() {
|
getDownloadArtifactName() {
|
||||||
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
return process.env['DEPENDENCY_GRAPH_DOWNLOAD_ARTIFACT_NAME'];
|
||||||
}
|
}
|
||||||
|
getExcludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-projects');
|
||||||
|
}
|
||||||
|
getIncludeProjects() {
|
||||||
|
return getOptionalInput('dependency-graph-include-projects');
|
||||||
|
}
|
||||||
|
getExcludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-exclude-configurations');
|
||||||
|
}
|
||||||
|
getIncludeConfigurations() {
|
||||||
|
return getOptionalInput('dependency-graph-include-configurations');
|
||||||
|
}
|
||||||
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
static constructJobCorrelator(workflow, jobId, matrixJson) {
|
||||||
const matrixString = this.describeMatrix(matrixJson);
|
const matrixString = this.describeMatrix(matrixJson);
|
||||||
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
const label = matrixString ? `${workflow}-${jobId}-${matrixString}` : `${workflow}-${jobId}`;
|
||||||
@ -90257,6 +90270,13 @@ function parseNumericInput(paramName, paramValue, paramDefault) {
|
|||||||
return numericValue;
|
return numericValue;
|
||||||
}
|
}
|
||||||
exports.parseNumericInput = parseNumericInput;
|
exports.parseNumericInput = parseNumericInput;
|
||||||
|
function getOptionalInput(paramName) {
|
||||||
|
const paramValue = core.getInput(paramName);
|
||||||
|
if (paramValue.length > 0) {
|
||||||
|
return paramValue;
|
||||||
|
}
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
function getBooleanInput(paramName, paramDefault = false) {
|
function getBooleanInput(paramName, paramDefault = false) {
|
||||||
const paramValue = core.getInput(paramName);
|
const paramValue = core.getInput(paramName);
|
||||||
switch (paramValue.toLowerCase().trim()) {
|
switch (paramValue.toLowerCase().trim()) {
|
||||||
|
2
dist/wrapper-validation/main/index.js.map
vendored
2
dist/wrapper-validation/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user