deps: update @actions/core
This commit is contained in:
parent
79d6bc5f6e
commit
082748017c
9 changed files with 501 additions and 469 deletions
7
node_modules/@actions/core/LICENSE.md
generated
vendored
7
node_modules/@actions/core/LICENSE.md
generated
vendored
|
@ -1,7 +0,0 @@
|
||||||
Copyright 2019 GitHub
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
192
node_modules/@actions/core/README.md
generated
vendored
192
node_modules/@actions/core/README.md
generated
vendored
|
@ -1,97 +1,97 @@
|
||||||
# `@actions/core`
|
# `@actions/core`
|
||||||
|
|
||||||
> Core functions for setting results, logging, registering secrets and exporting variables across actions
|
> Core functions for setting results, logging, registering secrets and exporting variables across actions
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
#### Inputs/Outputs
|
#### Inputs/Outputs
|
||||||
|
|
||||||
You can use this library to get inputs or set outputs:
|
You can use this library to get inputs or set outputs:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
|
|
||||||
const myInput = core.getInput('inputName', { required: true });
|
const myInput = core.getInput('inputName', { required: true });
|
||||||
|
|
||||||
// Do stuff
|
// Do stuff
|
||||||
|
|
||||||
core.setOutput('outputKey', 'outputVal');
|
core.setOutput('outputKey', 'outputVal');
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Exporting variables
|
#### Exporting variables
|
||||||
|
|
||||||
You can also export variables for future steps. Variables get set in the environment.
|
You can also export variables for future steps. Variables get set in the environment.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
|
|
||||||
// Do stuff
|
// Do stuff
|
||||||
|
|
||||||
core.exportVariable('envVar', 'Val');
|
core.exportVariable('envVar', 'Val');
|
||||||
```
|
```
|
||||||
|
|
||||||
#### PATH Manipulation
|
#### PATH Manipulation
|
||||||
|
|
||||||
You can explicitly add items to the path for all remaining steps in a workflow:
|
You can explicitly add items to the path for all remaining steps in a workflow:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
|
|
||||||
core.addPath('pathToTool');
|
core.addPath('pathToTool');
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Exit codes
|
#### Exit codes
|
||||||
|
|
||||||
You should use this library to set the failing exit code for your action:
|
You should use this library to set the failing exit code for your action:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
// Do stuff
|
// Do stuff
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
// setFailed logs the message and sets a failing exit code
|
// setFailed logs the message and sets a failing exit code
|
||||||
core.setFailed(`Action failed with error ${err}`);
|
core.setFailed(`Action failed with error ${err}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Logging
|
#### Logging
|
||||||
|
|
||||||
Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs).
|
Finally, this library provides some utilities for logging. Note that debug logging is hidden from the logs by default. This behavior can be toggled by enabling the [Step Debug Logs](../../docs/action-debugging.md#step-debug-logs).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const core = require('@actions/core');
|
const core = require('@actions/core');
|
||||||
|
|
||||||
const myInput = core.getInput('input');
|
const myInput = core.getInput('input');
|
||||||
try {
|
try {
|
||||||
core.debug('Inside try block');
|
core.debug('Inside try block');
|
||||||
|
|
||||||
if (!myInput) {
|
if (!myInput) {
|
||||||
core.warning('myInput was not set');
|
core.warning('myInput was not set');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do stuff
|
// Do stuff
|
||||||
}
|
}
|
||||||
catch (err) {
|
catch (err) {
|
||||||
core.error(`Error ${err}, action may still succeed though`);
|
core.error(`Error ${err}, action may still succeed though`);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
This library can also wrap chunks of output in foldable groups.
|
This library can also wrap chunks of output in foldable groups.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const core = require('@actions/core')
|
const core = require('@actions/core')
|
||||||
|
|
||||||
// Manually wrap output
|
// Manually wrap output
|
||||||
core.startGroup('Do some function')
|
core.startGroup('Do some function')
|
||||||
doSomeFunction()
|
doSomeFunction()
|
||||||
core.endGroup()
|
core.endGroup()
|
||||||
|
|
||||||
// Wrap an asynchronous function call
|
// Wrap an asynchronous function call
|
||||||
const result = await core.group('Do something async', async () => {
|
const result = await core.group('Do something async', async () => {
|
||||||
const response = await doSomeHTTPRequest()
|
const response = await doSomeHTTPRequest()
|
||||||
return response
|
return response
|
||||||
})
|
})
|
||||||
```
|
```
|
32
node_modules/@actions/core/lib/command.d.ts
generated
vendored
32
node_modules/@actions/core/lib/command.d.ts
generated
vendored
|
@ -1,16 +1,16 @@
|
||||||
interface CommandProperties {
|
interface CommandProperties {
|
||||||
[key: string]: string;
|
[key: string]: string;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Commands
|
* Commands
|
||||||
*
|
*
|
||||||
* Command Format:
|
* Command Format:
|
||||||
* ##[name key=value;key=value]message
|
* ##[name key=value;key=value]message
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
* ##[warning]This is the user warning message
|
* ##[warning]This is the user warning message
|
||||||
* ##[set-secret name=mypassword]definitelyNotAPassword!
|
* ##[set-secret name=mypassword]definitelyNotAPassword!
|
||||||
*/
|
*/
|
||||||
export declare function issueCommand(command: string, properties: CommandProperties, message: string): void;
|
export declare function issueCommand(command: string, properties: CommandProperties, message: string): void;
|
||||||
export declare function issue(name: string, message?: string): void;
|
export declare function issue(name: string, message?: string): void;
|
||||||
export {};
|
export {};
|
||||||
|
|
130
node_modules/@actions/core/lib/command.js
generated
vendored
130
node_modules/@actions/core/lib/command.js
generated
vendored
|
@ -1,66 +1,66 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const os = require("os");
|
const os = require("os");
|
||||||
/**
|
/**
|
||||||
* Commands
|
* Commands
|
||||||
*
|
*
|
||||||
* Command Format:
|
* Command Format:
|
||||||
* ##[name key=value;key=value]message
|
* ##[name key=value;key=value]message
|
||||||
*
|
*
|
||||||
* Examples:
|
* Examples:
|
||||||
* ##[warning]This is the user warning message
|
* ##[warning]This is the user warning message
|
||||||
* ##[set-secret name=mypassword]definitelyNotAPassword!
|
* ##[set-secret name=mypassword]definitelyNotAPassword!
|
||||||
*/
|
*/
|
||||||
function issueCommand(command, properties, message) {
|
function issueCommand(command, properties, message) {
|
||||||
const cmd = new Command(command, properties, message);
|
const cmd = new Command(command, properties, message);
|
||||||
process.stdout.write(cmd.toString() + os.EOL);
|
process.stdout.write(cmd.toString() + os.EOL);
|
||||||
}
|
}
|
||||||
exports.issueCommand = issueCommand;
|
exports.issueCommand = issueCommand;
|
||||||
function issue(name, message = '') {
|
function issue(name, message = '') {
|
||||||
issueCommand(name, {}, message);
|
issueCommand(name, {}, message);
|
||||||
}
|
}
|
||||||
exports.issue = issue;
|
exports.issue = issue;
|
||||||
const CMD_PREFIX = '##[';
|
const CMD_STRING = '::';
|
||||||
class Command {
|
class Command {
|
||||||
constructor(command, properties, message) {
|
constructor(command, properties, message) {
|
||||||
if (!command) {
|
if (!command) {
|
||||||
command = 'missing.command';
|
command = 'missing.command';
|
||||||
}
|
}
|
||||||
this.command = command;
|
this.command = command;
|
||||||
this.properties = properties;
|
this.properties = properties;
|
||||||
this.message = message;
|
this.message = message;
|
||||||
}
|
}
|
||||||
toString() {
|
toString() {
|
||||||
let cmdStr = CMD_PREFIX + this.command;
|
let cmdStr = CMD_STRING + this.command;
|
||||||
if (this.properties && Object.keys(this.properties).length > 0) {
|
if (this.properties && Object.keys(this.properties).length > 0) {
|
||||||
cmdStr += ' ';
|
cmdStr += ' ';
|
||||||
for (const key in this.properties) {
|
for (const key in this.properties) {
|
||||||
if (this.properties.hasOwnProperty(key)) {
|
if (this.properties.hasOwnProperty(key)) {
|
||||||
const val = this.properties[key];
|
const val = this.properties[key];
|
||||||
if (val) {
|
if (val) {
|
||||||
// safely append the val - avoid blowing up when attempting to
|
// safely append the val - avoid blowing up when attempting to
|
||||||
// call .replace() if message is not a string for some reason
|
// call .replace() if message is not a string for some reason
|
||||||
cmdStr += `${key}=${escape(`${val || ''}`)};`;
|
cmdStr += `${key}=${escape(`${val || ''}`)},`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
cmdStr += ']';
|
cmdStr += CMD_STRING;
|
||||||
// safely append the message - avoid blowing up when attempting to
|
// safely append the message - avoid blowing up when attempting to
|
||||||
// call .replace() if message is not a string for some reason
|
// call .replace() if message is not a string for some reason
|
||||||
const message = `${this.message || ''}`;
|
const message = `${this.message || ''}`;
|
||||||
cmdStr += escapeData(message);
|
cmdStr += escapeData(message);
|
||||||
return cmdStr;
|
return cmdStr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function escapeData(s) {
|
function escapeData(s) {
|
||||||
return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A');
|
return s.replace(/\r/g, '%0D').replace(/\n/g, '%0A');
|
||||||
}
|
}
|
||||||
function escape(s) {
|
function escape(s) {
|
||||||
return s
|
return s
|
||||||
.replace(/\r/g, '%0D')
|
.replace(/\r/g, '%0D')
|
||||||
.replace(/\n/g, '%0A')
|
.replace(/\n/g, '%0A')
|
||||||
.replace(/]/g, '%5D')
|
.replace(/]/g, '%5D')
|
||||||
.replace(/;/g, '%3B');
|
.replace(/;/g, '%3B');
|
||||||
}
|
}
|
||||||
//# sourceMappingURL=command.js.map
|
//# sourceMappingURL=command.js.map
|
2
node_modules/@actions/core/lib/command.js.map
generated
vendored
2
node_modules/@actions/core/lib/command.js.map
generated
vendored
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"command.js","sourceRoot":"","sources":["../src/command.ts"],"names":[],"mappings":";;AAAA,yBAAwB;AAQxB;;;;;;;;;GASG;AACH,SAAgB,YAAY,CAC1B,OAAe,EACf,UAA6B,EAC7B,OAAe;IAEf,MAAM,GAAG,GAAG,IAAI,OAAO,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,CAAA;IACrD,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AAC/C,CAAC;AAPD,oCAOC;AAED,SAAgB,KAAK,CAAC,IAAY,EAAE,UAAkB,EAAE;IACtD,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACjC,CAAC;AAFD,sBAEC;AAED,MAAM,UAAU,GAAG,KAAK,CAAA;AAExB,MAAM,OAAO;IAKX,YAAY,OAAe,EAAE,UAA6B,EAAE,OAAe;QACzE,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,iBAAiB,CAAA;SAC5B;QAED,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AAE;oBACvC,MAAM,GAAG,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,8DAA8D;wBAC9D,6DAA6D;wBAC7D,MAAM,IAAI,GAAG,GAAG,IAAI,MAAM,CAAC,GAAG,GAAG,IAAI,EAAE,EAAE,CAAC,GAAG,CAAA;qBAC9C;iBACF;aACF;SACF;QAED,MAAM,IAAI,UAAU,CAAA;QAEpB,kEAAkE;QAClE,6DAA6D;QAC7D,MAAM,OAAO,GAAG,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,EAAE,CAAA;QACvC,MAAM,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;QAE7B,OAAO,MAAM,CAAA;IACf,CAAC;CACF;AAED,SAAS,UAAU,CAAC,CAAS;IAC3B,OAAO,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AACtD,CAAC;AAED,SAAS,MAAM,CAAC,CAAS;IACvB,OAAO,CAAC;SACL,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC;SACpB,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAA;AACzB,CAAC"}
|
193
node_modules/@actions/core/lib/core.d.ts
generated
vendored
193
node_modules/@actions/core/lib/core.d.ts
generated
vendored
|
@ -1,94 +1,99 @@
|
||||||
/**
|
/**
|
||||||
* Interface for getInput options
|
* Interface for getInput options
|
||||||
*/
|
*/
|
||||||
export interface InputOptions {
|
export interface InputOptions {
|
||||||
/** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */
|
/** Optional. Whether the input is required. If required and not present, will throw. Defaults to false */
|
||||||
required?: boolean;
|
required?: boolean;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* The code to exit an action
|
* The code to exit an action
|
||||||
*/
|
*/
|
||||||
export declare enum ExitCode {
|
export declare enum ExitCode {
|
||||||
/**
|
/**
|
||||||
* A code indicating that the action was successful
|
* A code indicating that the action was successful
|
||||||
*/
|
*/
|
||||||
Success = 0,
|
Success = 0,
|
||||||
/**
|
/**
|
||||||
* A code indicating that the action was a failure
|
* A code indicating that the action was a failure
|
||||||
*/
|
*/
|
||||||
Failure = 1
|
Failure = 1
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* sets env variable for this action and future actions in the job
|
* sets env variable for this action and future actions in the job
|
||||||
* @param name the name of the variable to set
|
* @param name the name of the variable to set
|
||||||
* @param val the value of the variable
|
* @param val the value of the variable
|
||||||
*/
|
*/
|
||||||
export declare function exportVariable(name: string, val: string): void;
|
export declare function exportVariable(name: string, val: string): void;
|
||||||
/**
|
/**
|
||||||
* exports the variable and registers a secret which will get masked from logs
|
* exports the variable and registers a secret which will get masked from logs
|
||||||
* @param name the name of the variable to set
|
* @param name the name of the variable to set
|
||||||
* @param val value of the secret
|
* @param val value of the secret
|
||||||
*/
|
*/
|
||||||
export declare function exportSecret(name: string, val: string): void;
|
export declare function exportSecret(name: string, val: string): void;
|
||||||
/**
|
/**
|
||||||
* Prepends inputPath to the PATH (for this action and future actions)
|
* Prepends inputPath to the PATH (for this action and future actions)
|
||||||
* @param inputPath
|
* @param inputPath
|
||||||
*/
|
*/
|
||||||
export declare function addPath(inputPath: string): void;
|
export declare function addPath(inputPath: string): void;
|
||||||
/**
|
/**
|
||||||
* Gets the value of an input. The value is also trimmed.
|
* Gets the value of an input. The value is also trimmed.
|
||||||
*
|
*
|
||||||
* @param name name of the input to get
|
* @param name name of the input to get
|
||||||
* @param options optional. See InputOptions.
|
* @param options optional. See InputOptions.
|
||||||
* @returns string
|
* @returns string
|
||||||
*/
|
*/
|
||||||
export declare function getInput(name: string, options?: InputOptions): string;
|
export declare function getInput(name: string, options?: InputOptions): string;
|
||||||
/**
|
/**
|
||||||
* Sets the value of an output.
|
* Sets the value of an output.
|
||||||
*
|
*
|
||||||
* @param name name of the output to set
|
* @param name name of the output to set
|
||||||
* @param value value to store
|
* @param value value to store
|
||||||
*/
|
*/
|
||||||
export declare function setOutput(name: string, value: string): void;
|
export declare function setOutput(name: string, value: string): void;
|
||||||
/**
|
/**
|
||||||
* Sets the action status to failed.
|
* Sets the action status to failed.
|
||||||
* When the action exits it will be with an exit code of 1
|
* When the action exits it will be with an exit code of 1
|
||||||
* @param message add error issue message
|
* @param message add error issue message
|
||||||
*/
|
*/
|
||||||
export declare function setFailed(message: string): void;
|
export declare function setFailed(message: string): void;
|
||||||
/**
|
/**
|
||||||
* Writes debug message to user log
|
* Writes debug message to user log
|
||||||
* @param message debug message
|
* @param message debug message
|
||||||
*/
|
*/
|
||||||
export declare function debug(message: string): void;
|
export declare function debug(message: string): void;
|
||||||
/**
|
/**
|
||||||
* Adds an error issue
|
* Adds an error issue
|
||||||
* @param message error issue message
|
* @param message error issue message
|
||||||
*/
|
*/
|
||||||
export declare function error(message: string): void;
|
export declare function error(message: string): void;
|
||||||
/**
|
/**
|
||||||
* Adds an warning issue
|
* Adds an warning issue
|
||||||
* @param message warning issue message
|
* @param message warning issue message
|
||||||
*/
|
*/
|
||||||
export declare function warning(message: string): void;
|
export declare function warning(message: string): void;
|
||||||
/**
|
/**
|
||||||
* Begin an output group.
|
* Writes info to log with console.log.
|
||||||
*
|
* @param message info message
|
||||||
* Output until the next `groupEnd` will be foldable in this group
|
*/
|
||||||
*
|
export declare function info(message: string): void;
|
||||||
* @param name The name of the output group
|
/**
|
||||||
*/
|
* Begin an output group.
|
||||||
export declare function startGroup(name: string): void;
|
*
|
||||||
/**
|
* Output until the next `groupEnd` will be foldable in this group
|
||||||
* End an output group.
|
*
|
||||||
*/
|
* @param name The name of the output group
|
||||||
export declare function endGroup(): void;
|
*/
|
||||||
/**
|
export declare function startGroup(name: string): void;
|
||||||
* Wrap an asynchronous function call in a group.
|
/**
|
||||||
*
|
* End an output group.
|
||||||
* Returns the same type as the function itself.
|
*/
|
||||||
*
|
export declare function endGroup(): void;
|
||||||
* @param name The name of the group
|
/**
|
||||||
* @param fn The function to wrap in the group
|
* Wrap an asynchronous function call in a group.
|
||||||
*/
|
*
|
||||||
export declare function group<T>(name: string, fn: () => Promise<T>): Promise<T>;
|
* Returns the same type as the function itself.
|
||||||
|
*
|
||||||
|
* @param name The name of the group
|
||||||
|
* @param fn The function to wrap in the group
|
||||||
|
*/
|
||||||
|
export declare function group<T>(name: string, fn: () => Promise<T>): Promise<T>;
|
||||||
|
|
343
node_modules/@actions/core/lib/core.js
generated
vendored
343
node_modules/@actions/core/lib/core.js
generated
vendored
|
@ -1,168 +1,177 @@
|
||||||
"use strict";
|
"use strict";
|
||||||
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
||||||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
||||||
return new (P || (P = Promise))(function (resolve, reject) {
|
return new (P || (P = Promise))(function (resolve, reject) {
|
||||||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
||||||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
||||||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
||||||
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const command_1 = require("./command");
|
const command_1 = require("./command");
|
||||||
const path = require("path");
|
const os = require("os");
|
||||||
/**
|
const path = require("path");
|
||||||
* The code to exit an action
|
/**
|
||||||
*/
|
* The code to exit an action
|
||||||
var ExitCode;
|
*/
|
||||||
(function (ExitCode) {
|
var ExitCode;
|
||||||
/**
|
(function (ExitCode) {
|
||||||
* A code indicating that the action was successful
|
/**
|
||||||
*/
|
* A code indicating that the action was successful
|
||||||
ExitCode[ExitCode["Success"] = 0] = "Success";
|
*/
|
||||||
/**
|
ExitCode[ExitCode["Success"] = 0] = "Success";
|
||||||
* A code indicating that the action was a failure
|
/**
|
||||||
*/
|
* A code indicating that the action was a failure
|
||||||
ExitCode[ExitCode["Failure"] = 1] = "Failure";
|
*/
|
||||||
})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
|
ExitCode[ExitCode["Failure"] = 1] = "Failure";
|
||||||
//-----------------------------------------------------------------------
|
})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));
|
||||||
// Variables
|
//-----------------------------------------------------------------------
|
||||||
//-----------------------------------------------------------------------
|
// Variables
|
||||||
/**
|
//-----------------------------------------------------------------------
|
||||||
* sets env variable for this action and future actions in the job
|
/**
|
||||||
* @param name the name of the variable to set
|
* sets env variable for this action and future actions in the job
|
||||||
* @param val the value of the variable
|
* @param name the name of the variable to set
|
||||||
*/
|
* @param val the value of the variable
|
||||||
function exportVariable(name, val) {
|
*/
|
||||||
process.env[name] = val;
|
function exportVariable(name, val) {
|
||||||
command_1.issueCommand('set-env', { name }, val);
|
process.env[name] = val;
|
||||||
}
|
command_1.issueCommand('set-env', { name }, val);
|
||||||
exports.exportVariable = exportVariable;
|
}
|
||||||
/**
|
exports.exportVariable = exportVariable;
|
||||||
* exports the variable and registers a secret which will get masked from logs
|
/**
|
||||||
* @param name the name of the variable to set
|
* exports the variable and registers a secret which will get masked from logs
|
||||||
* @param val value of the secret
|
* @param name the name of the variable to set
|
||||||
*/
|
* @param val value of the secret
|
||||||
function exportSecret(name, val) {
|
*/
|
||||||
exportVariable(name, val);
|
function exportSecret(name, val) {
|
||||||
// the runner will error with not implemented
|
exportVariable(name, val);
|
||||||
// leaving the function but raising the error earlier
|
// the runner will error with not implemented
|
||||||
command_1.issueCommand('set-secret', {}, val);
|
// leaving the function but raising the error earlier
|
||||||
throw new Error('Not implemented.');
|
command_1.issueCommand('set-secret', {}, val);
|
||||||
}
|
throw new Error('Not implemented.');
|
||||||
exports.exportSecret = exportSecret;
|
}
|
||||||
/**
|
exports.exportSecret = exportSecret;
|
||||||
* Prepends inputPath to the PATH (for this action and future actions)
|
/**
|
||||||
* @param inputPath
|
* Prepends inputPath to the PATH (for this action and future actions)
|
||||||
*/
|
* @param inputPath
|
||||||
function addPath(inputPath) {
|
*/
|
||||||
command_1.issueCommand('add-path', {}, inputPath);
|
function addPath(inputPath) {
|
||||||
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
|
command_1.issueCommand('add-path', {}, inputPath);
|
||||||
}
|
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
|
||||||
exports.addPath = addPath;
|
}
|
||||||
/**
|
exports.addPath = addPath;
|
||||||
* Gets the value of an input. The value is also trimmed.
|
/**
|
||||||
*
|
* Gets the value of an input. The value is also trimmed.
|
||||||
* @param name name of the input to get
|
*
|
||||||
* @param options optional. See InputOptions.
|
* @param name name of the input to get
|
||||||
* @returns string
|
* @param options optional. See InputOptions.
|
||||||
*/
|
* @returns string
|
||||||
function getInput(name, options) {
|
*/
|
||||||
const val = process.env[`INPUT_${name.replace(' ', '_').toUpperCase()}`] || '';
|
function getInput(name, options) {
|
||||||
if (options && options.required && !val) {
|
const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';
|
||||||
throw new Error(`Input required and not supplied: ${name}`);
|
if (options && options.required && !val) {
|
||||||
}
|
throw new Error(`Input required and not supplied: ${name}`);
|
||||||
return val.trim();
|
}
|
||||||
}
|
return val.trim();
|
||||||
exports.getInput = getInput;
|
}
|
||||||
/**
|
exports.getInput = getInput;
|
||||||
* Sets the value of an output.
|
/**
|
||||||
*
|
* Sets the value of an output.
|
||||||
* @param name name of the output to set
|
*
|
||||||
* @param value value to store
|
* @param name name of the output to set
|
||||||
*/
|
* @param value value to store
|
||||||
function setOutput(name, value) {
|
*/
|
||||||
command_1.issueCommand('set-output', { name }, value);
|
function setOutput(name, value) {
|
||||||
}
|
command_1.issueCommand('set-output', { name }, value);
|
||||||
exports.setOutput = setOutput;
|
}
|
||||||
//-----------------------------------------------------------------------
|
exports.setOutput = setOutput;
|
||||||
// Results
|
//-----------------------------------------------------------------------
|
||||||
//-----------------------------------------------------------------------
|
// Results
|
||||||
/**
|
//-----------------------------------------------------------------------
|
||||||
* Sets the action status to failed.
|
/**
|
||||||
* When the action exits it will be with an exit code of 1
|
* Sets the action status to failed.
|
||||||
* @param message add error issue message
|
* When the action exits it will be with an exit code of 1
|
||||||
*/
|
* @param message add error issue message
|
||||||
function setFailed(message) {
|
*/
|
||||||
process.exitCode = ExitCode.Failure;
|
function setFailed(message) {
|
||||||
error(message);
|
process.exitCode = ExitCode.Failure;
|
||||||
}
|
error(message);
|
||||||
exports.setFailed = setFailed;
|
}
|
||||||
//-----------------------------------------------------------------------
|
exports.setFailed = setFailed;
|
||||||
// Logging Commands
|
//-----------------------------------------------------------------------
|
||||||
//-----------------------------------------------------------------------
|
// Logging Commands
|
||||||
/**
|
//-----------------------------------------------------------------------
|
||||||
* Writes debug message to user log
|
/**
|
||||||
* @param message debug message
|
* Writes debug message to user log
|
||||||
*/
|
* @param message debug message
|
||||||
function debug(message) {
|
*/
|
||||||
command_1.issueCommand('debug', {}, message);
|
function debug(message) {
|
||||||
}
|
command_1.issueCommand('debug', {}, message);
|
||||||
exports.debug = debug;
|
}
|
||||||
/**
|
exports.debug = debug;
|
||||||
* Adds an error issue
|
/**
|
||||||
* @param message error issue message
|
* Adds an error issue
|
||||||
*/
|
* @param message error issue message
|
||||||
function error(message) {
|
*/
|
||||||
command_1.issue('error', message);
|
function error(message) {
|
||||||
}
|
command_1.issue('error', message);
|
||||||
exports.error = error;
|
}
|
||||||
/**
|
exports.error = error;
|
||||||
* Adds an warning issue
|
/**
|
||||||
* @param message warning issue message
|
* Adds an warning issue
|
||||||
*/
|
* @param message warning issue message
|
||||||
function warning(message) {
|
*/
|
||||||
command_1.issue('warning', message);
|
function warning(message) {
|
||||||
}
|
command_1.issue('warning', message);
|
||||||
exports.warning = warning;
|
}
|
||||||
/**
|
exports.warning = warning;
|
||||||
* Begin an output group.
|
/**
|
||||||
*
|
* Writes info to log with console.log.
|
||||||
* Output until the next `groupEnd` will be foldable in this group
|
* @param message info message
|
||||||
*
|
*/
|
||||||
* @param name The name of the output group
|
function info(message) {
|
||||||
*/
|
process.stdout.write(message + os.EOL);
|
||||||
function startGroup(name) {
|
}
|
||||||
command_1.issue('group', name);
|
exports.info = info;
|
||||||
}
|
/**
|
||||||
exports.startGroup = startGroup;
|
* Begin an output group.
|
||||||
/**
|
*
|
||||||
* End an output group.
|
* Output until the next `groupEnd` will be foldable in this group
|
||||||
*/
|
*
|
||||||
function endGroup() {
|
* @param name The name of the output group
|
||||||
command_1.issue('endgroup');
|
*/
|
||||||
}
|
function startGroup(name) {
|
||||||
exports.endGroup = endGroup;
|
command_1.issue('group', name);
|
||||||
/**
|
}
|
||||||
* Wrap an asynchronous function call in a group.
|
exports.startGroup = startGroup;
|
||||||
*
|
/**
|
||||||
* Returns the same type as the function itself.
|
* End an output group.
|
||||||
*
|
*/
|
||||||
* @param name The name of the group
|
function endGroup() {
|
||||||
* @param fn The function to wrap in the group
|
command_1.issue('endgroup');
|
||||||
*/
|
}
|
||||||
function group(name, fn) {
|
exports.endGroup = endGroup;
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
/**
|
||||||
startGroup(name);
|
* Wrap an asynchronous function call in a group.
|
||||||
let result;
|
*
|
||||||
try {
|
* Returns the same type as the function itself.
|
||||||
result = yield fn();
|
*
|
||||||
}
|
* @param name The name of the group
|
||||||
finally {
|
* @param fn The function to wrap in the group
|
||||||
endGroup();
|
*/
|
||||||
}
|
function group(name, fn) {
|
||||||
return result;
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
});
|
startGroup(name);
|
||||||
}
|
let result;
|
||||||
exports.group = group;
|
try {
|
||||||
|
result = yield fn();
|
||||||
|
}
|
||||||
|
finally {
|
||||||
|
endGroup();
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
exports.group = group;
|
||||||
//# sourceMappingURL=core.js.map
|
//# sourceMappingURL=core.js.map
|
2
node_modules/@actions/core/lib/core.js.map
generated
vendored
2
node_modules/@actions/core/lib/core.js.map
generated
vendored
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"core.js","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,uCAA6C;AAE7C,6BAA4B;AAU5B;;GAEG;AACH,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB;;OAEG;IACH,6CAAW,CAAA;IAEX;;OAEG;IACH,6CAAW,CAAA;AACb,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AAED,yEAAyE;AACzE,YAAY;AACZ,yEAAyE;AAEzE;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAY,EAAE,GAAW;IACtD,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,GAAG,CAAA;IACvB,sBAAY,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,EAAE,GAAG,CAAC,CAAA;AACtC,CAAC;AAHD,wCAGC;AAED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAY,EAAE,GAAW;IACpD,cAAc,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;IAEzB,6CAA6C;IAC7C,qDAAqD;IACrD,sBAAY,CAAC,YAAY,EAAE,EAAE,EAAE,GAAG,CAAC,CAAA;IACnC,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,CAAA;AACrC,CAAC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C,OAAe;IACvC,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAA;IACnC,KAAK,CAAC,OAAO,CAAC,CAAA;AAChB,CAAC;AAHD,8BAGC;AAED,yEAAyE;AACzE,mBAAmB;AACnB,yEAAyE;AAEzE;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,sBAAY,CAAC,OAAO,EAAE,EAAE,EAAE,OAAO,CAAC,CAAA;AACpC,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,KAAK,CAAC,OAAe;IACnC,eAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;AACzB,CAAC;AAFD,sBAEC;AAED;;;GAGG;AACH,SAAgB,OAAO,CAAC,OAAe;IACrC,eAAK,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;AAC3B,CAAC;AAFD,0BAEC;AAED;;;GAGG;AACH,SAAgB,IAAI,CAAC,OAAe;IAClC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,GAAG,CAAC,CAAA;AACxC,CAAC;AAFD,oBAEC;AAED;;;;;;GAMG;AACH,SAAgB,UAAU,CAAC,IAAY;IACrC,eAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AACtB,CAAC;AAFD,gCAEC;AAED;;GAEG;AACH,SAAgB,QAAQ;IACtB,eAAK,CAAC,UAAU,CAAC,CAAA;AACnB,CAAC;AAFD,4BAEC;AAED;;;;;;;GAOG;AACH,SAAsB,KAAK,CAAI,IAAY,EAAE,EAAoB;;QAC/D,UAAU,CAAC,IAAI,CAAC,CAAA;QAEhB,IAAI,MAAS,CAAA;QAEb,IAAI;YACF,MAAM,GAAG,MAAM,EAAE,EAAE,CAAA;SACpB;gBAAS;YACR,QAAQ,EAAE,CAAA;SACX;QAED,OAAO,MAAM,CAAA;IACf,CAAC;CAAA;AAZD,sBAYC"}
|
69
node_modules/@actions/core/package.json
generated
vendored
69
node_modules/@actions/core/package.json
generated
vendored
|
@ -1,15 +1,41 @@
|
||||||
{
|
{
|
||||||
"name": "@actions/core",
|
"_args": [
|
||||||
"version": "1.1.0",
|
[
|
||||||
"description": "Actions core lib",
|
"@actions/core@1.1.1",
|
||||||
"keywords": [
|
"/Users/iris/Documents/repos/github.com/peaceiris/actions-hugo"
|
||||||
"github",
|
]
|
||||||
"actions",
|
|
||||||
"core"
|
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/actions/toolkit/tree/master/packages/core",
|
"_from": "@actions/core@1.1.1",
|
||||||
"license": "MIT",
|
"_id": "@actions/core@1.1.1",
|
||||||
"main": "lib/core.js",
|
"_inBundle": false,
|
||||||
|
"_integrity": "sha512-O5G6EmlzTVsng7VSpNtszIoQq6kOgMGNTFB/hmwKNNA4V71JyxImCIrL27vVHCt2Cb3ImkaCr6o27C2MV9Ylwg==",
|
||||||
|
"_location": "/@actions/core",
|
||||||
|
"_phantomChildren": {},
|
||||||
|
"_requested": {
|
||||||
|
"type": "version",
|
||||||
|
"registry": true,
|
||||||
|
"raw": "@actions/core@1.1.1",
|
||||||
|
"name": "@actions/core",
|
||||||
|
"escapedName": "@actions%2fcore",
|
||||||
|
"scope": "@actions",
|
||||||
|
"rawSpec": "1.1.1",
|
||||||
|
"saveSpec": null,
|
||||||
|
"fetchSpec": "1.1.1"
|
||||||
|
},
|
||||||
|
"_requiredBy": [
|
||||||
|
"/",
|
||||||
|
"/@actions/tool-cache"
|
||||||
|
],
|
||||||
|
"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.1.1.tgz",
|
||||||
|
"_spec": "1.1.1",
|
||||||
|
"_where": "/Users/iris/Documents/repos/github.com/peaceiris/actions-hugo",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/actions/toolkit/issues"
|
||||||
|
},
|
||||||
|
"description": "Actions core lib",
|
||||||
|
"devDependencies": {
|
||||||
|
"@types/node": "^12.0.2"
|
||||||
|
},
|
||||||
"directories": {
|
"directories": {
|
||||||
"lib": "lib",
|
"lib": "lib",
|
||||||
"test": "__tests__"
|
"test": "__tests__"
|
||||||
|
@ -17,6 +43,15 @@
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
],
|
],
|
||||||
|
"homepage": "https://github.com/actions/toolkit/tree/master/packages/core",
|
||||||
|
"keywords": [
|
||||||
|
"github",
|
||||||
|
"actions",
|
||||||
|
"core"
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"main": "lib/core.js",
|
||||||
|
"name": "@actions/core",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public"
|
"access": "public"
|
||||||
},
|
},
|
||||||
|
@ -28,15 +63,5 @@
|
||||||
"test": "echo \"Error: run tests from root\" && exit 1",
|
"test": "echo \"Error: run tests from root\" && exit 1",
|
||||||
"tsc": "tsc"
|
"tsc": "tsc"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"version": "1.1.1"
|
||||||
"url": "https://github.com/actions/toolkit/issues"
|
}
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/node": "^12.0.2"
|
|
||||||
},
|
|
||||||
"gitHead": "a2ab4bcf78e4f7080f0d45856e6eeba16f0bbc52"
|
|
||||||
|
|
||||||
,"_resolved": "https://registry.npmjs.org/@actions/core/-/core-1.1.0.tgz"
|
|
||||||
,"_integrity": "sha512-KKpo3xzo0Zsikni9tbOsEQkxZBGDsYSJZNkTvmo0gPSXrc98TBOcdTvKwwjitjkjHkreTggWdB1ACiAFVgsuzA=="
|
|
||||||
,"_from": "@actions/core@1.1.0"
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue