Persist inputs between the upload action and its post step.
This commit is contained in:
parent
af56b044b5
commit
6026274108
9 changed files with 60 additions and 4 deletions
2
lib/upload-sarif-action-post.js
generated
2
lib/upload-sarif-action-post.js
generated
|
|
@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
* other `post:` hooks.
|
||||
*/
|
||||
const core = __importStar(require("@actions/core"));
|
||||
const actionsUtil = __importStar(require("./actions-util"));
|
||||
const actions_util_1 = require("./actions-util");
|
||||
const api_client_1 = require("./api-client");
|
||||
const debugArtifacts = __importStar(require("./debug-artifacts"));
|
||||
|
|
@ -39,6 +40,7 @@ const repository_1 = require("./repository");
|
|||
const util_1 = require("./util");
|
||||
async function runWrapper() {
|
||||
try {
|
||||
actionsUtil.restoreInputs();
|
||||
const logger = (0, logging_1.getActionsLogger)();
|
||||
const gitHubVersion = await (0, api_client_1.getGitHubVersion)();
|
||||
(0, util_1.checkGitHubVersionInRange)(gitHubVersion, logger);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue