2020-11-24 17:22:12 +00:00
|
|
|
require('./sourcemap-register.js');module.exports=(()=>{var t={7351:function(t,e,n){"use strict";var i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)if(Object.hasOwnProperty.call(t,n))e[n]=t[n];e["default"]=t;return e};Object.defineProperty(e,"__esModule",{value:true});const r=i(n(2087));const o=n(5278);function issueCommand(t,e,n){const i=new Command(t,e,n);process.stdout.write(i.toString()+r.EOL)}e.issueCommand=issueCommand;function issue(t,e=""){issueCommand(t,{},e)}e.issue=issue;const a="::";class Command{constructor(t,e,n){if(!t){t="missing.command"}this.command=t;this.properties=e;this.message=n}toString(){let t=a+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let e=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const i=this.properties[n];if(i){if(e){e=false}else{t+=","}t+=`${n}=${escapeProperty(i)}`}}}}t+=`${a}${escapeData(this.message)}`;return t}}function escapeData(t){return o.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(t){return o.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},2186:function(t,e,n){"use strict";var i=this&&this.__awaiter||function(t,e,n,i){function adopt(t){return t instanceof n?t:new n(function(e){e(t)})}return new(n||(n=Promise))(function(n,r){function fulfilled(t){try{step(i.next(t))}catch(t){r(t)}}function rejected(t){try{step(i["throw"](t))}catch(t){r(t)}}function step(t){t.done?n(t.value):adopt(t.value).then(fulfilled,rejected)}step((i=i.apply(t,e||[])).next())})};var r=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)if(Object.hasOwnProperty.call(t,n))e[n]=t[n];e["default"]=t;return e};Object.defineProperty(e,"__esModule",{value:true});const o=n(7351);const a=n(717);const s=n(5278);const c=r(n(2087));const u=r(n(5622));var f;(function(t){t[t["Success"]=0]="Success";t[t["Failure"]=1]="Failure"})(f=e.ExitCode||(e.ExitCode={}));function exportVariable(t,e){const n=s.toCommandValue(e);process.env[t]=n;const i=process.env["GITHUB_ENV"]||"";if(i){const e="_GitHubActionsFileCommandDelimeter_";const i=`${t}<<${e}${c.EOL}${n}${c.EOL}${e}`;a.issueCommand("ENV",i)}else{o.issueCommand("set-env",{name:t},n)}}e.exportVariable=exportVariable;function setSecret(t){o.issueCommand("add-mask",{},t)}e.setSecret=setSecret;function addPath(t){const e=process.env["GITHUB_PATH"]||"";if(e){a.issueCommand("PATH",t)}else{o.issueCommand("add-path",{},t)}process.env["PATH"]=`${t}${u.delimiter}${process.env["PATH"]}`}e.addPath=addPath;function getInput(t,e){const n=process.env[`INPUT_${t.replace(/ /g,"_").toUpperCase()}`]||"";if(e&&e.required&&!n){throw new Error(`Input required and not supplied: ${t}`)}return n.trim()}e.getInput=getInput;function setOutput(t,e){o.issueCommand("set-output",{name:t},e)}e.setOutput=setOutput;function setCommandEcho(t){o.issue("echo",t?"on":"off")}e.setCommandEcho=setCommandEcho;function setFailed(t){process.exitCode=f.Failure;error(t)}e.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}e.isDebug=isDebug;function debug(t){o.issueCommand("debug",{},t)}e.debug=debug;function error(t){o.issue("error",t instanceof Error?t.toString():t)}e.error=error;function warning(t){o.issue("warning",t instanceof Error?t.toString():t)}e.warning=warning;function info(t){process.stdout.write(t+c.EOL)}e.info=info;function startGroup(t){o.issue("group",t)}e.startGroup=startGroup;function endGroup(){o.issue("endgroup")}e.endGroup=endGroup;function group(t,e){return i(this,void 0,void 0,function*(){startGroup(t);let n;try{n=yield e()}finally{endGroup()}return n})}e.group=group;function saveState(t,e){o.issueCommand("save-state",{name:t},e)}e.saveState=saveState;function getState(t){return process.env[`STATE_${t}`]||""}e.getState=getState},717:function(t,e,n){"use strict";var i=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var n in t)if(Object.
|