🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

cloudbuild-task-github-actions

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudbuild-task-github-actions - npm Package Compare versions

Comparing version

to
0.1.64-alpha

lib/index.js.map

1

lib/index.js

@@ -41,1 +41,2 @@ "use strict";

exports.factory = new GitHubFactory();
//# sourceMappingURL=index.js.map

4

lib/Inputs.js

@@ -13,3 +13,4 @@ "use strict";

getInput(name, required) {
return core.getInput(name, { required: required });
const result = core.getInput(name, { required: required });
return result === '' ? undefined : result;
}

@@ -22,1 +23,2 @@ getBoolInput(name, required) {

exports.Inputs = Inputs;
//# sourceMappingURL=Inputs.js.map

@@ -26,1 +26,2 @@ "use strict";

exports.Logger = Logger;
//# sourceMappingURL=Logger.js.map

@@ -20,1 +20,2 @@ "use strict";

exports.Outputs = Outputs;
//# sourceMappingURL=Outputs.js.map

@@ -13,5 +13,6 @@ "use strict";

setFailed(message) {
core.setFailed(message);
core.setFailed(message.toString());
}
}
exports.TaskResult = TaskResult;
//# sourceMappingURL=TaskResult.js.map

@@ -25,1 +25,2 @@ "use strict";

exports.Tool = Tool;
//# sourceMappingURL=Tool.js.map
{
"name": "cloudbuild-task-github-actions",
"version": "0.1.52-alpha",
"version": "0.1.64-alpha",
"description": "A GitHub Actions adapter for the cloudbuild-task-contracts.",
"main": "lib/index.js",
"engines": {
"node": ">= 6.0"
"node": ">= 10.0"
},

@@ -32,3 +32,3 @@ "scripts": {

"@octokit/webhooks": "^7.0.0",
"cloudbuild-task-contracts": "0.1.52-alpha"
"cloudbuild-task-contracts": "0.1.64-alpha"
},

@@ -35,0 +35,0 @@ "devDependencies": {

# cloudbuild-task-github-actions
![These NPM packages are typed with TypeScript](https://img.shields.io/npm/types/cloudbuild-task-github-actions)
![MIT license](https://img.shields.io/npm/l/cloudbuild-task-github-actions)
![Required Node](https://img.shields.io/node/v/cloudbuild-task-github-actions)
![This package depends on actions/core](https://img.shields.io/github/package-json/dependency-version/aarnott/cloudbuild-task/@actions/core?filename=cloudbuild-task-github-actions%2Fpackage.json)

@@ -4,0 +8,0 @@

@@ -6,3 +6,4 @@ import * as contracts from 'cloudbuild-task-contracts';

getInput(name: string, required?: boolean): string | undefined {
return core.getInput(name, { required: required });
const result = core.getInput(name, { required: required });
return result === '' ? undefined : result;
}

@@ -9,0 +10,0 @@

@@ -6,4 +6,6 @@ import * as contracts from 'cloudbuild-task-contracts';

setFailed(message: string): void {
core.setFailed(message);
// Just in case folks accidentally send error objects in (which are typically typed as `any`),
// go ahead and render it as a string since GitHub Actions fails if non-strings are passed in.
core.setFailed(message.toString());
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet