diff --git a/dist/main.js b/dist/main.js index 8882839..6a8c9da 100644 --- a/dist/main.js +++ b/dist/main.js @@ -1,14 +1,14 @@ -"use strict";var Lt=Object.create;var W=Object.defineProperty;var Ft=Object.getOwnPropertyDescriptor;var Vt=Object.getOwnPropertyNames;var Gt=Object.getPrototypeOf,Kt=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ue=(e,t)=>{for(var r in t)W(e,r,{get:t[r],enumerable:!0})},Ce=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Vt(t))!Kt.call(e,i)&&i!==r&&W(e,i,{get:()=>t[i],enumerable:!(n=Ft(t,i))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?Lt(Gt(e)):{},Ce(t||!e||!e.__esModule?W(r,"default",{value:e,enumerable:!0}):r,e)),ke=e=>Ce(W({},"__esModule",{value:!0}),e);var J=O(B=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0});B.toCommandProperties=B.toCommandValue=void 0;function Wt(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}B.toCommandValue=Wt;function Jt(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}B.toCommandProperties=Jt});var Be=O(E=>{"use strict";var Ht=E&&E.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),zt=E&&E.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Yt=E&&E.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Ht(t,e,r);return zt(t,e),t};Object.defineProperty(E,"__esModule",{value:!0});E.issue=E.issueCommand=void 0;var Qt=Yt(require("os")),Ne=J();function je(e,t,r){let n=new oe(e,t,r);process.stdout.write(n.toString()+Qt.EOL)}E.issueCommand=je;function Xt(e,t=""){je(e,{},t)}E.issue=Xt;var Me="::",oe=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=Me+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:t+=",",t+=`${n}=${er(i)}`)}}return t+=`${Me}${Zt(this.message)}`,t}};function Zt(e){return Ne.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function er(e){return Ne.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function V(){return H>z.length-16&&(De.default.randomFillSync(z),H=0),z.slice(H,H+=16)}var De,z,H,se=v(()=>{De=T(require("crypto")),z=new Uint8Array(256),H=z.length});var Ie,$e=v(()=>{Ie=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function tr(e){return typeof e=="string"&&Ie.test(e)}var q,G=v(()=>{$e();q=tr});function rr(e,t=0){let r=(g[e[t+0]]+g[e[t+1]]+g[e[t+2]]+g[e[t+3]]+"-"+g[e[t+4]]+g[e[t+5]]+"-"+g[e[t+6]]+g[e[t+7]]+"-"+g[e[t+8]]+g[e[t+9]]+"-"+g[e[t+10]]+g[e[t+11]]+g[e[t+12]]+g[e[t+13]]+g[e[t+14]]+g[e[t+15]]).toLowerCase();if(!q(r))throw TypeError("Stringified UUID is invalid");return r}var g,U,K=v(()=>{G();g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));U=rr});function nr(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let o=e.node||Le,s=e.clockseq!==void 0?e.clockseq:ae;if(o==null||s==null){let h=e.random||(e.rng||V)();o==null&&(o=Le=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),s==null&&(s=ae=(h[6]<<8|h[7])&16383)}let c=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:ce+1,a=c-ue+(l-ce)/1e4;if(a<0&&e.clockseq===void 0&&(s=s+1&16383),(a<0||c>ue)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ue=c,ce=l,ae=s,c+=122192928e5;let u=((c&268435455)*1e4+l)%4294967296;i[n++]=u>>>24&255,i[n++]=u>>>16&255,i[n++]=u>>>8&255,i[n++]=u&255;let d=c/4294967296*1e4&268435455;i[n++]=d>>>8&255,i[n++]=d&255,i[n++]=d>>>24&15|16,i[n++]=d>>>16&255,i[n++]=s>>>8|128,i[n++]=s&255;for(let h=0;h<6;++h)i[n+h]=o[h];return t||U(i)}var Le,ae,ue,ce,Fe,Ve=v(()=>{se();K();ue=0,ce=0;Fe=nr});function ir(e){if(!q(e))throw TypeError("Invalid UUID");let t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}var Y,le=v(()=>{G();Y=ir});function or(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{K();le();sr="6ba7b810-9dad-11d1-80b4-00c04fd430c8",ar="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function ur(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ge.default.createHash("md5").update(e).digest()}var Ge,Ke,We=v(()=>{Ge=T(require("crypto"));Ke=ur});var cr,Je,He=v(()=>{fe();We();cr=Q("v3",48,Ke),Je=cr});function lr(e,t,r){e=e||{};let n=e.random||(e.rng||V)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return U(n)}var ze,Ye=v(()=>{se();K();ze=lr});function fr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Qe.default.createHash("sha1").update(e).digest()}var Qe,Xe,Ze=v(()=>{Qe=T(require("crypto"));Xe=fr});var dr,et,tt=v(()=>{fe();Ze();dr=Q("v5",80,Xe),et=dr});var rt,nt=v(()=>{rt="00000000-0000-0000-0000-000000000000"});function hr(e){if(!q(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var it,ot=v(()=>{G();it=hr});var st={};Ue(st,{NIL:()=>rt,parse:()=>Y,stringify:()=>U,v1:()=>Fe,v3:()=>Je,v4:()=>ze,v5:()=>et,validate:()=>q,version:()=>it});var at=v(()=>{Ve();He();Ye();tt();nt();ot();G();K();le()});var ft=O(b=>{"use strict";var pr=b&&b.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),mr=b&&b.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ct=b&&b.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&pr(t,e,r);return mr(t,e),t};Object.defineProperty(b,"__esModule",{value:!0});b.prepareKeyValueMessage=b.issueFileCommand=void 0;var ut=ct(require("fs")),de=ct(require("os")),gr=(at(),ke(st)),lt=J();function vr(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!ut.existsSync(r))throw new Error(`Missing file at path: ${r}`);ut.appendFileSync(r,`${lt.toCommandValue(t)}${de.EOL}`,{encoding:"utf8"})}b.issueFileCommand=vr;function yr(e,t){let r=`ghadelimiter_${gr.v4()}`,n=lt.toCommandValue(t);if(e.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${de.EOL}${n}${de.EOL}${r}`}b.prepareKeyValueMessage=yr});var ht=O(D=>{"use strict";Object.defineProperty(D,"__esModule",{value:!0});D.checkBypass=D.getProxyUrl=void 0;function _r(e){let t=e.protocol==="https:";if(dt(e))return;let r=(()=>t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(r)return new URL(r)}D.getProxyUrl=_r;function dt(e){if(!e.hostname)return!1;let t=e.hostname;if(wr(t))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;e.port?n=Number(e.port):e.protocol==="http:"?n=80:e.protocol==="https:"&&(n=443);let i=[e.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let o of r.split(",").map(s=>s.trim().toUpperCase()).filter(s=>s))if(o==="*"||i.some(s=>s===o||s.endsWith(`.${o}`)||o.startsWith(".")&&s.endsWith(`${o}`)))return!0;return!1}D.checkBypass=dt;function wr(e){let t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}});var vt=O(I=>{"use strict";var gi=require("net"),Or=require("tls"),he=require("http"),pt=require("https"),Er=require("events"),vi=require("assert"),br=require("util");I.httpOverHttp=Sr;I.httpsOverHttp=xr;I.httpOverHttps=Rr;I.httpsOverHttps=Ar;function Sr(e){var t=new P(e);return t.request=he.request,t}function xr(e){var t=new P(e);return t.request=he.request,t.createSocket=mt,t.defaultPort=443,t}function Rr(e){var t=new P(e);return t.request=pt.request,t}function Ar(e){var t=new P(e);return t.request=pt.request,t.createSocket=mt,t.defaultPort=443,t}function P(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||he.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,o,s){for(var c=gt(i,o,s),l=0,a=t.requests.length;l=this.maxSockets){o.requests.push(s);return}o.createSocket(s,function(c){c.on("free",l),c.on("close",a),c.on("agentRemove",a),t.onSocket(c);function l(){o.emit("free",c,s)}function a(u){o.removeSocket(c),c.removeListener("free",l),c.removeListener("close",a),c.removeListener("agentRemove",a)}})};P.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var o=pe({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(o.localAddress=t.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),C("making CONNECT request");var s=n.request(o);s.useChunkedEncodingByDefault=!1,s.once("response",c),s.once("upgrade",l),s.once("connect",a),s.once("error",u),s.end();function c(d){d.upgrade=!0}function l(d,h,j){process.nextTick(function(){a(d,h,j)})}function a(d,h,j){if(s.removeAllListeners(),h.removeAllListeners(),d.statusCode!==200){C("tunneling socket could not be established, statusCode=%d",d.statusCode),h.destroy();var F=new Error("tunneling socket could not be established, statusCode="+d.statusCode);F.code="ECONNRESET",t.request.emit("error",F),n.removeSocket(i);return}if(j.length>0){C("got illegal response body from proxy"),h.destroy();var F=new Error("got illegal response body from proxy");F.code="ECONNRESET",t.request.emit("error",F),n.removeSocket(i);return}return C("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}function u(d){s.removeAllListeners(),C(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var h=new Error("tunneling socket could not be established, cause="+d.message);h.code="ECONNRESET",t.request.emit("error",h),n.removeSocket(i)}};P.prototype.removeSocket=function(t){var r=this.sockets.indexOf(t);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}};function mt(e,t){var r=this;P.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=pe({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=Or.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s)})}function gt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function pe(e){for(var t=1,r=arguments.length;t{yt.exports=vt()});var Ot=O(p=>{"use strict";var Tr=p&&p.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Pr=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ne=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Tr(t,e,r);return Pr(t,e),t},m=p&&p.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.HttpClient=p.isHttps=p.HttpClientResponse=p.HttpClientError=p.getProxyUrl=p.MediaTypes=p.Headers=p.HttpCodes=void 0;var X=ne(require("http")),me=ne(require("https")),wt=ne(ht()),Z=ne(_t()),x;(function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"})(x=p.HttpCodes||(p.HttpCodes={}));var y;(function(e){e.Accept="accept",e.ContentType="content-type"})(y=p.Headers||(p.Headers={}));var k;(function(e){e.ApplicationJson="application/json"})(k=p.MediaTypes||(p.MediaTypes={}));function qr(e){let t=wt.getProxyUrl(new URL(e));return t?t.href:""}p.getProxyUrl=qr;var Ur=[x.MovedPermanently,x.ResourceMoved,x.SeeOther,x.TemporaryRedirect,x.PermanentRedirect],Cr=[x.BadGateway,x.ServiceUnavailable,x.GatewayTimeout],kr=["OPTIONS","GET","DELETE","HEAD"],Mr=10,Nr=5,te=class e extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,e.prototype)}};p.HttpClientError=te;var re=class{constructor(t){this.message=t}readBody(){return m(this,void 0,void 0,function*(){return new Promise(t=>m(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}};p.HttpClientResponse=re;function jr(e){return new URL(e).protocol==="https:"}p.isHttps=jr;var ge=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return m(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return m(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return m(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return m(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return m(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return m(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return m(this,void 0,void 0,function*(){r[y.Accept]=this._getExistingOrDefaultHeader(r,y.Accept,k.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,k.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,k.ApplicationJson);let o=yield this.post(t,i,n);return this._processResponse(o,this.requestOptions)})}putJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,k.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,k.ApplicationJson);let o=yield this.put(t,i,n);return this._processResponse(o,this.requestOptions)})}patchJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,k.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,k.ApplicationJson);let o=yield this.patch(t,i,n);return this._processResponse(o,this.requestOptions)})}request(t,r,n,i){return m(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let o=new URL(r),s=this._prepareRequest(t,o,i),c=this._allowRetries&&kr.includes(t)?this._maxRetries+1:1,l=0,a;do{if(a=yield this.requestRaw(s,n),a&&a.message&&a.message.statusCode===x.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(a)){d=h;break}return d?d.handleAuthentication(this,s,n):a}let u=this._maxRedirects;for(;a.message.statusCode&&Ur.includes(a.message.statusCode)&&this._allowRedirects&&u>0;){let d=a.message.headers.location;if(!d)break;let h=new URL(d);if(o.protocol==="https:"&&o.protocol!==h.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),h.hostname!==o.hostname)for(let j in i)j.toLowerCase()==="authorization"&&delete i[j];s=this._prepareRequest(t,h,i),a=yield this.requestRaw(s,n),u--}if(!a.message.statusCode||!Cr.includes(a.message.statusCode))return a;l+=1,l{function o(s,c){s?i(s):c?n(c):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,o)})})}requestRawWithCallback(t,r,n){typeof r=="string"&&(t.options.headers||(t.options.headers={}),t.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function o(l,a){i||(i=!0,n(l,a))}let s=t.httpModule.request(t.options,l=>{let a=new re(l);o(void 0,a)}),c;s.on("socket",l=>{c=l}),s.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),o(new Error(`Request timeout: ${t.options.path}`))}),s.on("error",function(l){o(l)}),r&&typeof r=="string"&&s.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){s.end()}),r.pipe(s)):s.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let o=i.parsedUrl.protocol==="https:";i.httpModule=o?me:X;let s=o?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):s,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ee(this.requestOptions.headers),ee(t||{})):ee(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=ee(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=wt.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),this._keepAlive&&!i&&(r=this._agent),r)return r;let o=t.protocol==="https:",s=100;if(this.requestOptions&&(s=this.requestOptions.maxSockets||X.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,a=n.protocol==="https:";o?l=a?Z.httpsOverHttps:Z.httpsOverHttp:l=a?Z.httpOverHttps:Z.httpOverHttp,r=l(c),this._proxyAgent=r}if(this._keepAlive&&!r){let c={keepAlive:this._keepAlive,maxSockets:s};r=o?new me.Agent(c):new X.Agent(c),this._agent=r}return r||(r=o?me.globalAgent:X.globalAgent),o&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return m(this,void 0,void 0,function*(){t=Math.min(Mr,t);let r=Nr*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return m(this,void 0,void 0,function*(){return new Promise((n,i)=>m(this,void 0,void 0,function*(){let o=t.message.statusCode||0,s={statusCode:o,result:null,headers:{}};o===x.NotFound&&n(s);function c(u,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}return d}let l,a;try{a=yield t.readBody(),a&&a.length>0&&(r&&r.deserializeDates?l=JSON.parse(a,c):l=JSON.parse(a),s.result=l),s.headers=t.message.headers}catch{}if(o>299){let u;l&&l.message?u=l.message:a&&a.length>0?u=a:u=`Failed request: (${o})`;let d=new te(u,o);d.result=s.result,i(d)}else n(s)}))})}};p.HttpClient=ge;var ee=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var Et=O(A=>{"use strict";var we=A&&A.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(A,"__esModule",{value:!0});A.PersonalAccessTokenCredentialHandler=A.BearerCredentialHandler=A.BasicCredentialHandler=void 0;var ve=class{constructor(t,r){this.username=t,this.password=r}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return we(this,void 0,void 0,function*(){throw new Error("not implemented")})}};A.BasicCredentialHandler=ve;var ye=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return we(this,void 0,void 0,function*(){throw new Error("not implemented")})}};A.BearerCredentialHandler=ye;var _e=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return we(this,void 0,void 0,function*(){throw new Error("not implemented")})}};A.PersonalAccessTokenCredentialHandler=_e});var xt=O($=>{"use strict";var bt=$&&$.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty($,"__esModule",{value:!0});$.OidcClient=void 0;var Br=Ot(),Dr=Et(),St=ie(),Oe=class e{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new Br.HttpClient("actions/oidc-client",[new Dr.BearerCredentialHandler(e.getRequestToken())],n)}static getRequestToken(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return t}static getIDTokenUrl(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return t}static getCall(t){var r;return bt(this,void 0,void 0,function*(){let o=(r=(yield e.createHttpClient().getJson(t).catch(s=>{throw new Error(`Failed to get ID Token. +"use strict";var Ft=Object.create;var W=Object.defineProperty;var Vt=Object.getOwnPropertyDescriptor;var Gt=Object.getOwnPropertyNames;var Kt=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ue=(e,t)=>{for(var r in t)W(e,r,{get:t[r],enumerable:!0})},Ce=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Gt(t))!Wt.call(e,i)&&i!==r&&W(e,i,{get:()=>t[i],enumerable:!(n=Vt(t,i))||n.enumerable});return e};var A=(e,t,r)=>(r=e!=null?Ft(Kt(e)):{},Ce(t||!e||!e.__esModule?W(r,"default",{value:e,enumerable:!0}):r,e)),ke=e=>Ce(W({},"__esModule",{value:!0}),e);var J=O(B=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0});B.toCommandProperties=B.toCommandValue=void 0;function Jt(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}B.toCommandValue=Jt;function zt(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}B.toCommandProperties=zt});var Be=O(b=>{"use strict";var Yt=b&&b.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Ht=b&&b.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Qt=b&&b.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Yt(t,e,r);return Ht(t,e),t};Object.defineProperty(b,"__esModule",{value:!0});b.issue=b.issueCommand=void 0;var Xt=Qt(require("os")),Ne=J();function je(e,t,r){let n=new oe(e,t,r);process.stdout.write(n.toString()+Xt.EOL)}b.issueCommand=je;function Zt(e,t=""){je(e,{},t)}b.issue=Zt;var Me="::",oe=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=Me+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:t+=",",t+=`${n}=${tr(i)}`)}}return t+=`${Me}${er(this.message)}`,t}};function er(e){return Ne.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function tr(e){return Ne.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function V(){return z>Y.length-16&&(De.default.randomFillSync(Y),z=0),Y.slice(z,z+=16)}var De,Y,z,se=v(()=>{De=A(require("crypto")),Y=new Uint8Array(256),z=Y.length});var Ie,$e=v(()=>{Ie=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function rr(e){return typeof e=="string"&&Ie.test(e)}var q,G=v(()=>{$e();q=rr});function nr(e,t=0){let r=(g[e[t+0]]+g[e[t+1]]+g[e[t+2]]+g[e[t+3]]+"-"+g[e[t+4]]+g[e[t+5]]+"-"+g[e[t+6]]+g[e[t+7]]+"-"+g[e[t+8]]+g[e[t+9]]+"-"+g[e[t+10]]+g[e[t+11]]+g[e[t+12]]+g[e[t+13]]+g[e[t+14]]+g[e[t+15]]).toLowerCase();if(!q(r))throw TypeError("Stringified UUID is invalid");return r}var g,U,K=v(()=>{G();g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));U=nr});function ir(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let o=e.node||Le,s=e.clockseq!==void 0?e.clockseq:ae;if(o==null||s==null){let h=e.random||(e.rng||V)();o==null&&(o=Le=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),s==null&&(s=ae=(h[6]<<8|h[7])&16383)}let c=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:ce+1,a=c-ue+(l-ce)/1e4;if(a<0&&e.clockseq===void 0&&(s=s+1&16383),(a<0||c>ue)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ue=c,ce=l,ae=s,c+=122192928e5;let u=((c&268435455)*1e4+l)%4294967296;i[n++]=u>>>24&255,i[n++]=u>>>16&255,i[n++]=u>>>8&255,i[n++]=u&255;let d=c/4294967296*1e4&268435455;i[n++]=d>>>8&255,i[n++]=d&255,i[n++]=d>>>24&15|16,i[n++]=d>>>16&255,i[n++]=s>>>8|128,i[n++]=s&255;for(let h=0;h<6;++h)i[n+h]=o[h];return t||U(i)}var Le,ae,ue,ce,Fe,Ve=v(()=>{se();K();ue=0,ce=0;Fe=ir});function or(e){if(!q(e))throw TypeError("Invalid UUID");let t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}var H,le=v(()=>{G();H=or});function sr(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{K();le();ar="6ba7b810-9dad-11d1-80b4-00c04fd430c8",ur="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function cr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ge.default.createHash("md5").update(e).digest()}var Ge,Ke,We=v(()=>{Ge=A(require("crypto"));Ke=cr});var lr,Je,ze=v(()=>{fe();We();lr=Q("v3",48,Ke),Je=lr});function fr(e,t,r){e=e||{};let n=e.random||(e.rng||V)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return U(n)}var Ye,He=v(()=>{se();K();Ye=fr});function dr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Qe.default.createHash("sha1").update(e).digest()}var Qe,Xe,Ze=v(()=>{Qe=A(require("crypto"));Xe=dr});var hr,et,tt=v(()=>{fe();Ze();hr=Q("v5",80,Xe),et=hr});var rt,nt=v(()=>{rt="00000000-0000-0000-0000-000000000000"});function pr(e){if(!q(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var it,ot=v(()=>{G();it=pr});var st={};Ue(st,{NIL:()=>rt,parse:()=>H,stringify:()=>U,v1:()=>Fe,v3:()=>Je,v4:()=>Ye,v5:()=>et,validate:()=>q,version:()=>it});var at=v(()=>{Ve();ze();He();tt();nt();ot();G();K();le()});var ft=O(E=>{"use strict";var mr=E&&E.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),gr=E&&E.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ct=E&&E.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&mr(t,e,r);return gr(t,e),t};Object.defineProperty(E,"__esModule",{value:!0});E.prepareKeyValueMessage=E.issueFileCommand=void 0;var ut=ct(require("fs")),de=ct(require("os")),vr=(at(),ke(st)),lt=J();function yr(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!ut.existsSync(r))throw new Error(`Missing file at path: ${r}`);ut.appendFileSync(r,`${lt.toCommandValue(t)}${de.EOL}`,{encoding:"utf8"})}E.issueFileCommand=yr;function _r(e,t){let r=`ghadelimiter_${vr.v4()}`,n=lt.toCommandValue(t);if(e.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${de.EOL}${n}${de.EOL}${r}`}E.prepareKeyValueMessage=_r});var ht=O(D=>{"use strict";Object.defineProperty(D,"__esModule",{value:!0});D.checkBypass=D.getProxyUrl=void 0;function wr(e){let t=e.protocol==="https:";if(dt(e))return;let r=(()=>t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(r)return new URL(r)}D.getProxyUrl=wr;function dt(e){if(!e.hostname)return!1;let t=e.hostname;if(Or(t))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;e.port?n=Number(e.port):e.protocol==="http:"?n=80:e.protocol==="https:"&&(n=443);let i=[e.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let o of r.split(",").map(s=>s.trim().toUpperCase()).filter(s=>s))if(o==="*"||i.some(s=>s===o||s.endsWith(`.${o}`)||o.startsWith(".")&&s.endsWith(`${o}`)))return!0;return!1}D.checkBypass=dt;function Or(e){let t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}});var vt=O(I=>{"use strict";var gi=require("net"),br=require("tls"),he=require("http"),pt=require("https"),Er=require("events"),vi=require("assert"),Sr=require("util");I.httpOverHttp=xr;I.httpsOverHttp=Rr;I.httpOverHttps=Ar;I.httpsOverHttps=Tr;function xr(e){var t=new P(e);return t.request=he.request,t}function Rr(e){var t=new P(e);return t.request=he.request,t.createSocket=mt,t.defaultPort=443,t}function Ar(e){var t=new P(e);return t.request=pt.request,t}function Tr(e){var t=new P(e);return t.request=pt.request,t.createSocket=mt,t.defaultPort=443,t}function P(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||he.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,o,s){for(var c=gt(i,o,s),l=0,a=t.requests.length;l=this.maxSockets){o.requests.push(s);return}o.createSocket(s,function(c){c.on("free",l),c.on("close",a),c.on("agentRemove",a),t.onSocket(c);function l(){o.emit("free",c,s)}function a(u){o.removeSocket(c),c.removeListener("free",l),c.removeListener("close",a),c.removeListener("agentRemove",a)}})};P.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var o=pe({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(o.localAddress=t.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),C("making CONNECT request");var s=n.request(o);s.useChunkedEncodingByDefault=!1,s.once("response",c),s.once("upgrade",l),s.once("connect",a),s.once("error",u),s.end();function c(d){d.upgrade=!0}function l(d,h,j){process.nextTick(function(){a(d,h,j)})}function a(d,h,j){if(s.removeAllListeners(),h.removeAllListeners(),d.statusCode!==200){C("tunneling socket could not be established, statusCode=%d",d.statusCode),h.destroy();var F=new Error("tunneling socket could not be established, statusCode="+d.statusCode);F.code="ECONNRESET",t.request.emit("error",F),n.removeSocket(i);return}if(j.length>0){C("got illegal response body from proxy"),h.destroy();var F=new Error("got illegal response body from proxy");F.code="ECONNRESET",t.request.emit("error",F),n.removeSocket(i);return}return C("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}function u(d){s.removeAllListeners(),C(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var h=new Error("tunneling socket could not be established, cause="+d.message);h.code="ECONNRESET",t.request.emit("error",h),n.removeSocket(i)}};P.prototype.removeSocket=function(t){var r=this.sockets.indexOf(t);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}};function mt(e,t){var r=this;P.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=pe({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=br.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s)})}function gt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function pe(e){for(var t=1,r=arguments.length;t{yt.exports=vt()});var Ot=O(p=>{"use strict";var Pr=p&&p.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),qr=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ne=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Pr(t,e,r);return qr(t,e),t},m=p&&p.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.HttpClient=p.isHttps=p.HttpClientResponse=p.HttpClientError=p.getProxyUrl=p.MediaTypes=p.Headers=p.HttpCodes=void 0;var X=ne(require("http")),me=ne(require("https")),wt=ne(ht()),Z=ne(_t()),x;(function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"})(x=p.HttpCodes||(p.HttpCodes={}));var y;(function(e){e.Accept="accept",e.ContentType="content-type"})(y=p.Headers||(p.Headers={}));var k;(function(e){e.ApplicationJson="application/json"})(k=p.MediaTypes||(p.MediaTypes={}));function Ur(e){let t=wt.getProxyUrl(new URL(e));return t?t.href:""}p.getProxyUrl=Ur;var Cr=[x.MovedPermanently,x.ResourceMoved,x.SeeOther,x.TemporaryRedirect,x.PermanentRedirect],kr=[x.BadGateway,x.ServiceUnavailable,x.GatewayTimeout],Mr=["OPTIONS","GET","DELETE","HEAD"],Nr=10,jr=5,te=class e extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,e.prototype)}};p.HttpClientError=te;var re=class{constructor(t){this.message=t}readBody(){return m(this,void 0,void 0,function*(){return new Promise(t=>m(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}};p.HttpClientResponse=re;function Br(e){return new URL(e).protocol==="https:"}p.isHttps=Br;var ge=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return m(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return m(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return m(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return m(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return m(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return m(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return m(this,void 0,void 0,function*(){r[y.Accept]=this._getExistingOrDefaultHeader(r,y.Accept,k.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,k.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,k.ApplicationJson);let o=yield this.post(t,i,n);return this._processResponse(o,this.requestOptions)})}putJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,k.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,k.ApplicationJson);let o=yield this.put(t,i,n);return this._processResponse(o,this.requestOptions)})}patchJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,k.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,k.ApplicationJson);let o=yield this.patch(t,i,n);return this._processResponse(o,this.requestOptions)})}request(t,r,n,i){return m(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let o=new URL(r),s=this._prepareRequest(t,o,i),c=this._allowRetries&&Mr.includes(t)?this._maxRetries+1:1,l=0,a;do{if(a=yield this.requestRaw(s,n),a&&a.message&&a.message.statusCode===x.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(a)){d=h;break}return d?d.handleAuthentication(this,s,n):a}let u=this._maxRedirects;for(;a.message.statusCode&&Cr.includes(a.message.statusCode)&&this._allowRedirects&&u>0;){let d=a.message.headers.location;if(!d)break;let h=new URL(d);if(o.protocol==="https:"&&o.protocol!==h.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),h.hostname!==o.hostname)for(let j in i)j.toLowerCase()==="authorization"&&delete i[j];s=this._prepareRequest(t,h,i),a=yield this.requestRaw(s,n),u--}if(!a.message.statusCode||!kr.includes(a.message.statusCode))return a;l+=1,l{function o(s,c){s?i(s):c?n(c):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,o)})})}requestRawWithCallback(t,r,n){typeof r=="string"&&(t.options.headers||(t.options.headers={}),t.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function o(l,a){i||(i=!0,n(l,a))}let s=t.httpModule.request(t.options,l=>{let a=new re(l);o(void 0,a)}),c;s.on("socket",l=>{c=l}),s.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),o(new Error(`Request timeout: ${t.options.path}`))}),s.on("error",function(l){o(l)}),r&&typeof r=="string"&&s.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){s.end()}),r.pipe(s)):s.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let o=i.parsedUrl.protocol==="https:";i.httpModule=o?me:X;let s=o?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):s,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ee(this.requestOptions.headers),ee(t||{})):ee(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=ee(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=wt.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),this._keepAlive&&!i&&(r=this._agent),r)return r;let o=t.protocol==="https:",s=100;if(this.requestOptions&&(s=this.requestOptions.maxSockets||X.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,a=n.protocol==="https:";o?l=a?Z.httpsOverHttps:Z.httpsOverHttp:l=a?Z.httpOverHttps:Z.httpOverHttp,r=l(c),this._proxyAgent=r}if(this._keepAlive&&!r){let c={keepAlive:this._keepAlive,maxSockets:s};r=o?new me.Agent(c):new X.Agent(c),this._agent=r}return r||(r=o?me.globalAgent:X.globalAgent),o&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return m(this,void 0,void 0,function*(){t=Math.min(Nr,t);let r=jr*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return m(this,void 0,void 0,function*(){return new Promise((n,i)=>m(this,void 0,void 0,function*(){let o=t.message.statusCode||0,s={statusCode:o,result:null,headers:{}};o===x.NotFound&&n(s);function c(u,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}return d}let l,a;try{a=yield t.readBody(),a&&a.length>0&&(r&&r.deserializeDates?l=JSON.parse(a,c):l=JSON.parse(a),s.result=l),s.headers=t.message.headers}catch{}if(o>299){let u;l&&l.message?u=l.message:a&&a.length>0?u=a:u=`Failed request: (${o})`;let d=new te(u,o);d.result=s.result,i(d)}else n(s)}))})}};p.HttpClient=ge;var ee=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var bt=O(T=>{"use strict";var we=T&&T.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(T,"__esModule",{value:!0});T.PersonalAccessTokenCredentialHandler=T.BearerCredentialHandler=T.BasicCredentialHandler=void 0;var ve=class{constructor(t,r){this.username=t,this.password=r}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return we(this,void 0,void 0,function*(){throw new Error("not implemented")})}};T.BasicCredentialHandler=ve;var ye=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return we(this,void 0,void 0,function*(){throw new Error("not implemented")})}};T.BearerCredentialHandler=ye;var _e=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return we(this,void 0,void 0,function*(){throw new Error("not implemented")})}};T.PersonalAccessTokenCredentialHandler=_e});var xt=O($=>{"use strict";var Et=$&&$.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty($,"__esModule",{value:!0});$.OidcClient=void 0;var Dr=Ot(),Ir=bt(),St=ie(),Oe=class e{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new Dr.HttpClient("actions/oidc-client",[new Ir.BearerCredentialHandler(e.getRequestToken())],n)}static getRequestToken(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return t}static getIDTokenUrl(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return t}static getCall(t){var r;return Et(this,void 0,void 0,function*(){let o=(r=(yield e.createHttpClient().getJson(t).catch(s=>{throw new Error(`Failed to get ID Token. Error Code : ${s.statusCode} - Error Message: ${s.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!o)throw new Error("Response json body do not have ID Token field");return o})}static getIDToken(t){return bt(this,void 0,void 0,function*(){try{let r=e.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}St.debug(`ID token url is ${r}`);let n=yield e.getCall(r);return St.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};$.OidcClient=Oe});var xe=O(_=>{"use strict";var Ee=_&&_.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(_,"__esModule",{value:!0});_.summary=_.markdownSummary=_.SUMMARY_DOCS_URL=_.SUMMARY_ENV_VAR=void 0;var Ir=require("os"),be=require("fs"),{access:$r,appendFile:Lr,writeFile:Fr}=be.promises;_.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";_.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Se=class{constructor(){this._buffer=""}filePath(){return Ee(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[_.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${_.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield $r(t,be.constants.R_OK|be.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath})}wrap(t,r,n={}){let i=Object.entries(n).map(([o,s])=>` ${o}="${s}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return Ee(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?Fr:Lr)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Ee(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(t,r=!1){return this._buffer+=t,r?this.addEOL():this}addEOL(){return this.addRaw(Ir.EOL)}addCodeBlock(t,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",t),n);return this.addRaw(i).addEOL()}addList(t,r=!1){let n=r?"ol":"ul",i=t.map(s=>this.wrap("li",s)).join(""),o=this.wrap(n,i);return this.addRaw(o).addEOL()}addTable(t){let r=t.map(i=>{let o=i.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:c,data:l,colspan:a,rowspan:u}=s,d=c?"th":"td",h=Object.assign(Object.assign({},a&&{colspan:a}),u&&{rowspan:u});return this.wrap(d,l,h)}).join("");return this.wrap("tr",o)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(t,r){let n=this.wrap("details",this.wrap("summary",t)+r);return this.addRaw(n).addEOL()}addImage(t,r,n){let{width:i,height:o}=n||{},s=Object.assign(Object.assign({},i&&{width:i}),o&&{height:o}),c=this.wrap("img",null,Object.assign({src:t,alt:r},s));return this.addRaw(c).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",o=this.wrap(i,t);return this.addRaw(o).addEOL()}addSeparator(){let t=this.wrap("hr",null);return this.addRaw(t).addEOL()}addBreak(){let t=this.wrap("br",null);return this.addRaw(t).addEOL()}addQuote(t,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",t,n);return this.addRaw(i).addEOL()}addLink(t,r){let n=this.wrap("a",t,{href:r});return this.addRaw(n).addEOL()}},Rt=new Se;_.markdownSummary=Rt;_.summary=Rt});var At=O(w=>{"use strict";var Vr=w&&w.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Gr=w&&w.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Kr=w&&w.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Vr(t,e,r);return Gr(t,e),t};Object.defineProperty(w,"__esModule",{value:!0});w.toPlatformPath=w.toWin32Path=w.toPosixPath=void 0;var Wr=Kr(require("path"));function Jr(e){return e.replace(/[\\]/g,"/")}w.toPosixPath=Jr;function Hr(e){return e.replace(/[/]/g,"\\")}w.toWin32Path=Hr;function zr(e){return e.replace(/[/\\]/g,Wr.sep)}w.toPlatformPath=zr});var ie=O(f=>{"use strict";var Yr=f&&f.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Qr=f&&f.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Tt=f&&f.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Yr(t,e,r);return Qr(t,e),t},Pt=f&&f.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(f,"__esModule",{value:!0});f.getIDToken=f.getState=f.saveState=f.group=f.endGroup=f.startGroup=f.info=f.notice=f.warning=f.error=f.debug=f.isDebug=f.setFailed=f.setCommandEcho=f.setOutput=f.getBooleanInput=f.getMultilineInput=f.getInput=f.addPath=f.setSecret=f.exportVariable=f.ExitCode=void 0;var S=Be(),N=ft(),L=J(),qt=Tt(require("os")),Xr=Tt(require("path")),Zr=xt(),Ut;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(Ut=f.ExitCode||(f.ExitCode={}));function en(e,t){let r=L.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return N.issueFileCommand("ENV",N.prepareKeyValueMessage(e,t));S.issueCommand("set-env",{name:e},r)}f.exportVariable=en;function tn(e){S.issueCommand("add-mask",{},e)}f.setSecret=tn;function rn(e){process.env.GITHUB_PATH||""?N.issueFileCommand("PATH",e):S.issueCommand("add-path",{},e),process.env.PATH=`${e}${Xr.delimiter}${process.env.PATH}`}f.addPath=rn;function Re(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}f.getInput=Re;function nn(e,t){let r=Re(e,t).split(` -`).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}f.getMultilineInput=nn;function on(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Re(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}f.getBooleanInput=on;function sn(e,t){if(process.env.GITHUB_OUTPUT||"")return N.issueFileCommand("OUTPUT",N.prepareKeyValueMessage(e,t));process.stdout.write(qt.EOL),S.issueCommand("set-output",{name:e},L.toCommandValue(t))}f.setOutput=sn;function an(e){S.issue("echo",e?"on":"off")}f.setCommandEcho=an;function un(e){process.exitCode=Ut.Failure,Ct(e)}f.setFailed=un;function cn(){return process.env.RUNNER_DEBUG==="1"}f.isDebug=cn;function ln(e){S.issueCommand("debug",{},e)}f.debug=ln;function Ct(e,t={}){S.issueCommand("error",L.toCommandProperties(t),e instanceof Error?e.toString():e)}f.error=Ct;function fn(e,t={}){S.issueCommand("warning",L.toCommandProperties(t),e instanceof Error?e.toString():e)}f.warning=fn;function dn(e,t={}){S.issueCommand("notice",L.toCommandProperties(t),e instanceof Error?e.toString():e)}f.notice=dn;function hn(e){process.stdout.write(e+qt.EOL)}f.info=hn;function kt(e){S.issue("group",e)}f.startGroup=kt;function Mt(){S.issue("endgroup")}f.endGroup=Mt;function pn(e,t){return Pt(this,void 0,void 0,function*(){kt(e);let r;try{r=yield t()}finally{Mt()}return r})}f.group=pn;function mn(e,t){if(process.env.GITHUB_STATE||"")return N.issueFileCommand("STATE",N.prepareKeyValueMessage(e,t));S.issueCommand("save-state",{name:e},L.toCommandValue(t))}f.saveState=mn;function gn(e){return process.env[`STATE_${e}`]||""}f.getState=gn;function vn(e){return Pt(this,void 0,void 0,function*(){return yield Zr.OidcClient.getIDToken(e)})}f.getIDToken=vn;var yn=xe();Object.defineProperty(f,"summary",{enumerable:!0,get:function(){return yn.summary}});var _n=xe();Object.defineProperty(f,"markdownSummary",{enumerable:!0,get:function(){return _n.markdownSummary}});var Ae=At();Object.defineProperty(f,"toPosixPath",{enumerable:!0,get:function(){return Ae.toPosixPath}});Object.defineProperty(f,"toWin32Path",{enumerable:!0,get:function(){return Ae.toWin32Path}});Object.defineProperty(f,"toPlatformPath",{enumerable:!0,get:function(){return Ae.toPlatformPath}})});var An={};Ue(An,{main:()=>$t});module.exports=ke(An);var R=T(require("fs")),qe=T(require("path")),M=T(ie());var Nt=T(require("fs")),jt=T(require("path")),Te=T(ie()),wn="backup-suffix";function Bt(e){if(!Nt.existsSync(e))return"";let t=`.bak-${Date.now()}`;return Te.saveState(wn,t),t}function Dt(){return jt.resolve(On(),".ssh")}function On(){let e=En(),t=process.env[e];if(t===void 0)throw Error(`${e} is not defined`);return t==="/github/home"?"/root":t}function En(){return process.platform==="win32"?"USERPROFILE":"HOME"}var It=["github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk="];try{$t()}catch(e){e instanceof Error&&M.setFailed(e)}function $t(){let e=M.getInput("key",{required:!0}),t=M.getInput("name"),r=M.getInput("known_hosts",{required:!0}),n=M.getInput("config"),i=M.getInput("if_key_exists"),o=Dt(),s=Bt(o);R.mkdirSync(o,{recursive:!0,mode:448});let c=[{name:"known_hosts",contents:Pe(Rn(r).join(` + Error Message: ${s.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!o)throw new Error("Response json body do not have ID Token field");return o})}static getIDToken(t){return Et(this,void 0,void 0,function*(){try{let r=e.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}St.debug(`ID token url is ${r}`);let n=yield e.getCall(r);return St.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};$.OidcClient=Oe});var xe=O(_=>{"use strict";var be=_&&_.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(_,"__esModule",{value:!0});_.summary=_.markdownSummary=_.SUMMARY_DOCS_URL=_.SUMMARY_ENV_VAR=void 0;var $r=require("os"),Ee=require("fs"),{access:Lr,appendFile:Fr,writeFile:Vr}=Ee.promises;_.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";_.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Se=class{constructor(){this._buffer=""}filePath(){return be(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[_.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${_.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield Lr(t,Ee.constants.R_OK|Ee.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath})}wrap(t,r,n={}){let i=Object.entries(n).map(([o,s])=>` ${o}="${s}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return be(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?Vr:Fr)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return be(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(t,r=!1){return this._buffer+=t,r?this.addEOL():this}addEOL(){return this.addRaw($r.EOL)}addCodeBlock(t,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",t),n);return this.addRaw(i).addEOL()}addList(t,r=!1){let n=r?"ol":"ul",i=t.map(s=>this.wrap("li",s)).join(""),o=this.wrap(n,i);return this.addRaw(o).addEOL()}addTable(t){let r=t.map(i=>{let o=i.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:c,data:l,colspan:a,rowspan:u}=s,d=c?"th":"td",h=Object.assign(Object.assign({},a&&{colspan:a}),u&&{rowspan:u});return this.wrap(d,l,h)}).join("");return this.wrap("tr",o)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(t,r){let n=this.wrap("details",this.wrap("summary",t)+r);return this.addRaw(n).addEOL()}addImage(t,r,n){let{width:i,height:o}=n||{},s=Object.assign(Object.assign({},i&&{width:i}),o&&{height:o}),c=this.wrap("img",null,Object.assign({src:t,alt:r},s));return this.addRaw(c).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",o=this.wrap(i,t);return this.addRaw(o).addEOL()}addSeparator(){let t=this.wrap("hr",null);return this.addRaw(t).addEOL()}addBreak(){let t=this.wrap("br",null);return this.addRaw(t).addEOL()}addQuote(t,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",t,n);return this.addRaw(i).addEOL()}addLink(t,r){let n=this.wrap("a",t,{href:r});return this.addRaw(n).addEOL()}},Rt=new Se;_.markdownSummary=Rt;_.summary=Rt});var At=O(w=>{"use strict";var Gr=w&&w.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Kr=w&&w.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Wr=w&&w.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Gr(t,e,r);return Kr(t,e),t};Object.defineProperty(w,"__esModule",{value:!0});w.toPlatformPath=w.toWin32Path=w.toPosixPath=void 0;var Jr=Wr(require("path"));function zr(e){return e.replace(/[\\]/g,"/")}w.toPosixPath=zr;function Yr(e){return e.replace(/[/]/g,"\\")}w.toWin32Path=Yr;function Hr(e){return e.replace(/[/\\]/g,Jr.sep)}w.toPlatformPath=Hr});var ie=O(f=>{"use strict";var Qr=f&&f.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Xr=f&&f.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Tt=f&&f.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Qr(t,e,r);return Xr(t,e),t},Pt=f&&f.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function c(u){try{a(n.next(u))}catch(d){s(d)}}function l(u){try{a(n.throw(u))}catch(d){s(d)}}function a(u){u.done?o(u.value):i(u.value).then(c,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(f,"__esModule",{value:!0});f.getIDToken=f.getState=f.saveState=f.group=f.endGroup=f.startGroup=f.info=f.notice=f.warning=f.error=f.debug=f.isDebug=f.setFailed=f.setCommandEcho=f.setOutput=f.getBooleanInput=f.getMultilineInput=f.getInput=f.addPath=f.setSecret=f.exportVariable=f.ExitCode=void 0;var S=Be(),N=ft(),L=J(),qt=Tt(require("os")),Zr=Tt(require("path")),en=xt(),Ut;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(Ut=f.ExitCode||(f.ExitCode={}));function tn(e,t){let r=L.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return N.issueFileCommand("ENV",N.prepareKeyValueMessage(e,t));S.issueCommand("set-env",{name:e},r)}f.exportVariable=tn;function rn(e){S.issueCommand("add-mask",{},e)}f.setSecret=rn;function nn(e){process.env.GITHUB_PATH||""?N.issueFileCommand("PATH",e):S.issueCommand("add-path",{},e),process.env.PATH=`${e}${Zr.delimiter}${process.env.PATH}`}f.addPath=nn;function Re(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}f.getInput=Re;function on(e,t){let r=Re(e,t).split(` +`).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}f.getMultilineInput=on;function sn(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Re(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}f.getBooleanInput=sn;function an(e,t){if(process.env.GITHUB_OUTPUT||"")return N.issueFileCommand("OUTPUT",N.prepareKeyValueMessage(e,t));process.stdout.write(qt.EOL),S.issueCommand("set-output",{name:e},L.toCommandValue(t))}f.setOutput=an;function un(e){S.issue("echo",e?"on":"off")}f.setCommandEcho=un;function cn(e){process.exitCode=Ut.Failure,Ct(e)}f.setFailed=cn;function ln(){return process.env.RUNNER_DEBUG==="1"}f.isDebug=ln;function fn(e){S.issueCommand("debug",{},e)}f.debug=fn;function Ct(e,t={}){S.issueCommand("error",L.toCommandProperties(t),e instanceof Error?e.toString():e)}f.error=Ct;function dn(e,t={}){S.issueCommand("warning",L.toCommandProperties(t),e instanceof Error?e.toString():e)}f.warning=dn;function hn(e,t={}){S.issueCommand("notice",L.toCommandProperties(t),e instanceof Error?e.toString():e)}f.notice=hn;function pn(e){process.stdout.write(e+qt.EOL)}f.info=pn;function kt(e){S.issue("group",e)}f.startGroup=kt;function Mt(){S.issue("endgroup")}f.endGroup=Mt;function mn(e,t){return Pt(this,void 0,void 0,function*(){kt(e);let r;try{r=yield t()}finally{Mt()}return r})}f.group=mn;function gn(e,t){if(process.env.GITHUB_STATE||"")return N.issueFileCommand("STATE",N.prepareKeyValueMessage(e,t));S.issueCommand("save-state",{name:e},L.toCommandValue(t))}f.saveState=gn;function vn(e){return process.env[`STATE_${e}`]||""}f.getState=vn;function yn(e){return Pt(this,void 0,void 0,function*(){return yield en.OidcClient.getIDToken(e)})}f.getIDToken=yn;var _n=xe();Object.defineProperty(f,"summary",{enumerable:!0,get:function(){return _n.summary}});var wn=xe();Object.defineProperty(f,"markdownSummary",{enumerable:!0,get:function(){return wn.markdownSummary}});var Ae=At();Object.defineProperty(f,"toPosixPath",{enumerable:!0,get:function(){return Ae.toPosixPath}});Object.defineProperty(f,"toWin32Path",{enumerable:!0,get:function(){return Ae.toWin32Path}});Object.defineProperty(f,"toPlatformPath",{enumerable:!0,get:function(){return Ae.toPlatformPath}})});var An={};Ue(An,{main:()=>Lt});module.exports=ke(An);var R=A(require("fs")),qe=A(require("path")),M=A(ie());var Nt=A(require("fs")),jt=A(require("os")),Bt=A(require("path")),Te=A(ie()),On="backup-suffix";function Dt(e){if(!Nt.existsSync(e))return"";let t=`.bak-${Date.now()}`;return Te.saveState(On,t),t}function It(){return Bt.resolve(bn(),".ssh")}function bn(){let e=jt.homedir();return e==="/github/home"?"/root":e}var $t=["github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk="];try{Lt()}catch(e){e instanceof Error&&M.setFailed(e)}function Lt(){let e=M.getInput("key",{required:!0}),t=M.getInput("name"),r=M.getInput("known_hosts",{required:!0}),n=M.getInput("config"),i=M.getInput("if_key_exists"),o=It(),s=Dt(o);R.mkdirSync(o,{recursive:!0,mode:448});let c=[{name:"known_hosts",contents:Pe(Rn(r).join(` `),!0,!0),options:{mode:420,flag:"a"},mustNotExist:!1}];xn(qe.join(o,t),i)&&c.push({name:t,contents:Pe(e,!1,!0),options:{mode:256,flag:"wx"},mustNotExist:!0}),n!==""&&c.push({name:"config",contents:Pe(n,!0,!0),options:{mode:420,flag:"a"},mustNotExist:!1});let l=[];for(let a of c){let u=qe.join(o,a.name);Sn(u,s,a.mustNotExist)&&l.push(a.name),R.writeFileSync(u,a.contents,a.options)}console.log(`SSH key has been stored to ${o} successfully.`),l.length>0&&console.log(`Following files are backed up in suffix "${s}"; ${l.join(", ")}`)}function Sn(e,t,r){if(t===""||!R.existsSync(e))return!1;let n=`${e}${t}`;return R.renameSync(e,n),r||R.copyFileSync(n,e),!0}function Pe(e,t,r){let n=e;return e.length===0?"":(t&&!n.startsWith(` `)&&(n=` ${n}`),r&&!n.endsWith(` `)&&(n=`${n} -`),n)}function xn(e,t){if(!R.existsSync(e))return!0;switch(t){case"replace":return!0;case"ignore":return!1;default:throw new Error('SSH key is already installed. Set "if_key_exists" to "replace" or "ignore" in order to avoid this error.')}}function Rn(e){return e==="unnecessary"?It:It.concat(e)}0&&(module.exports={main}); +`),n)}function xn(e,t){if(!R.existsSync(e))return!0;switch(t){case"replace":return!0;case"ignore":return!1;default:throw new Error('SSH key is already installed. Set "if_key_exists" to "replace" or "ignore" in order to avoid this error.')}}function Rn(e){return e==="unnecessary"?$t:$t.concat(e)}0&&(module.exports={main}); //# sourceMappingURL=main.js.map diff --git a/dist/main.js.map b/dist/main.js.map index 6572216..f2eebcd 100644 --- a/dist/main.js.map +++ b/dist/main.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../node_modules/@actions/core/src/utils.ts", "../node_modules/@actions/core/src/command.ts", "../node_modules/uuid/dist/esm-node/rng.js", "../node_modules/uuid/dist/esm-node/regex.js", "../node_modules/uuid/dist/esm-node/validate.js", "../node_modules/uuid/dist/esm-node/stringify.js", "../node_modules/uuid/dist/esm-node/v1.js", "../node_modules/uuid/dist/esm-node/parse.js", "../node_modules/uuid/dist/esm-node/v35.js", "../node_modules/uuid/dist/esm-node/md5.js", "../node_modules/uuid/dist/esm-node/v3.js", "../node_modules/uuid/dist/esm-node/v4.js", "../node_modules/uuid/dist/esm-node/sha1.js", "../node_modules/uuid/dist/esm-node/v5.js", "../node_modules/uuid/dist/esm-node/nil.js", "../node_modules/uuid/dist/esm-node/version.js", "../node_modules/uuid/dist/esm-node/index.js", "../node_modules/@actions/core/src/file-command.ts", "../node_modules/@actions/http-client/src/proxy.ts", "../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/@actions/http-client/src/index.ts", "../node_modules/@actions/http-client/src/auth.ts", "../node_modules/@actions/core/src/oidc-utils.ts", "../node_modules/@actions/core/src/summary.ts", "../node_modules/@actions/core/src/path-utils.ts", "../node_modules/@actions/core/src/core.ts", "../src/main.ts", "../src/common.ts"], - "sourcesContent": [null, null, "import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}", "export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;", "import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;", "import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;", "import rng from './rng.js';\nimport stringify from './stringify.js'; // **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || rng)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || stringify(b);\n}\n\nexport default v1;", "import validate from './validate.js';\n\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nexport default parse;", "import stringify from './stringify.js';\nimport parse from './parse.js';\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nexport const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function (name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return stringify(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}", "import crypto from 'crypto';\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('md5').update(bytes).digest();\n}\n\nexport default md5;", "import v35 from './v35.js';\nimport md5 from './md5.js';\nconst v3 = v35('v3', 0x30, md5);\nexport default v3;", "import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;", "import crypto from 'crypto';\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('sha1').update(bytes).digest();\n}\n\nexport default sha1;", "import v35 from './v35.js';\nimport sha1 from './sha1.js';\nconst v5 = v35('v5', 0x50, sha1);\nexport default v5;", "export default '00000000-0000-0000-0000-000000000000';", "import validate from './validate.js';\n\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nexport default version;", "export { default as v1 } from './v1.js';\nexport { default as v3 } from './v3.js';\nexport { default as v4 } from './v4.js';\nexport { default as v5 } from './v5.js';\nexport { default as NIL } from './nil.js';\nexport { default as version } from './version.js';\nexport { default as validate } from './validate.js';\nexport { default as stringify } from './stringify.js';\nexport { default as parse } from './parse.js';", null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n", "module.exports = require('./lib/tunnel');\n", null, null, null, null, null, null, "import * as fs from \"fs\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\nimport * as common from \"./common\";\n\n/** file creation info */\ninterface FileInfo {\n /** file name */\n name: string;\n /** file contents */\n contents: string;\n /** creation options */\n options: fs.WriteFileOptions;\n /** file must not exist when creating */\n mustNotExist: boolean;\n}\n\n/** default known_hosts */\nconst KNOWN_HOSTS = [\n \"github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=\",\n];\n\ntry {\n main();\n} catch (err) {\n if (err instanceof Error) {\n core.setFailed(err);\n }\n}\n\n/**\n * main function\n */\nexport function main(): void {\n // parameters\n const key = core.getInput(\"key\", {\n required: true,\n });\n const name = core.getInput(\"name\");\n const knownHosts = core.getInput(\"known_hosts\", {\n required: true,\n });\n const config = core.getInput(\"config\");\n const ifKeyExists = core.getInput(\"if_key_exists\");\n\n // create \".ssh\" directory\n const sshDirName = common.getSshDirectory();\n const backupSuffix = common.createBackupSuffix(sshDirName);\n fs.mkdirSync(sshDirName, {\n recursive: true,\n mode: 0o700,\n });\n\n // files to be created\n const files: FileInfo[] = [\n {\n name: \"known_hosts\",\n contents: insertLf(buildKnownHostsArray(knownHosts).join(\"\\n\"), true, true),\n options: {\n mode: 0o644,\n flag: \"a\",\n },\n mustNotExist: false,\n },\n ];\n if (shouldCreateKeyFile(path.join(sshDirName, name), ifKeyExists)) {\n files.push({\n name: name,\n contents: insertLf(key, false, true),\n options: {\n mode: 0o400,\n flag: \"wx\",\n },\n mustNotExist: true,\n });\n }\n if (config !== \"\") {\n files.push({\n name: \"config\",\n contents: insertLf(config, true, true),\n options: {\n mode: 0o644,\n flag: \"a\",\n },\n mustNotExist: false,\n });\n }\n\n // create files\n const backedUpFileNames: string[] = [];\n for (const file of files) {\n const fileName = path.join(sshDirName, file.name);\n if (backup(fileName, backupSuffix, file.mustNotExist)) {\n backedUpFileNames.push(file.name);\n }\n\n fs.writeFileSync(fileName, file.contents, file.options);\n }\n\n console.log(`SSH key has been stored to ${sshDirName} successfully.`);\n if (backedUpFileNames.length > 0) {\n console.log(`Following files are backed up in suffix \"${backupSuffix}\"; ${backedUpFileNames.join(\", \")}`);\n }\n}\n\n/**\n * back up file\n * @param fileName file to back up\n * @param backupSuffix suffix\n * @param removeOrig remove original file\n * @returns is file backed up?\n */\nfunction backup(fileName: string, backupSuffix: string, removeOrig: boolean): boolean {\n if (backupSuffix === \"\") {\n return false;\n }\n if (!fs.existsSync(fileName)) {\n return false;\n }\n\n // move -> copy (in order to keep permissions when restore)\n const fileNameBak = `${fileName}${backupSuffix}`;\n fs.renameSync(fileName, fileNameBak);\n if (!removeOrig) {\n fs.copyFileSync(fileNameBak, fileName);\n }\n\n return true;\n}\n\n/**\n * prepend/append LF to value if not empty\n * @param value the value to insert LF\n * @param prepend true to prepend\n * @param append true to append\n * @returns new value\n */\nfunction insertLf(value: string, prepend: boolean, append: boolean): string {\n let affectedValue = value;\n\n if (value.length === 0) {\n // do nothing if empty\n return \"\";\n }\n if (prepend && !affectedValue.startsWith(\"\\n\")) {\n affectedValue = `\\n${affectedValue}`;\n }\n if (append && !affectedValue.endsWith(\"\\n\")) {\n affectedValue = `${affectedValue}\\n`;\n }\n\n return affectedValue;\n}\n\n/**\n * should create SSH key file?\n * @param keyFilePath path of key file\n * @param ifKeyExists action if SSH key exists\n * @returns Yes/No\n */\nfunction shouldCreateKeyFile(keyFilePath: string, ifKeyExists: string): boolean {\n if (!fs.existsSync(keyFilePath)) {\n // should create if file does not exist\n return true;\n }\n\n switch (ifKeyExists) {\n case \"replace\":\n // should create if replace (existing file will be backed up when creating)\n return true;\n\n case \"ignore\":\n // should NOT create if ignore\n return false;\n\n default:\n // error otherwise\n throw new Error(`SSH key is already installed. Set \"if_key_exists\" to \"replace\" or \"ignore\" in order to avoid this error.`);\n }\n}\n\n/**\n * build array of known_hosts\n * @param knownHosts known_hosts\n * @returns array of known_hosts\n */\nfunction buildKnownHostsArray(knownHosts: string): string[] {\n if (knownHosts === \"unnecessary\") {\n return KNOWN_HOSTS;\n }\n return KNOWN_HOSTS.concat(knownHosts);\n}\n", "import * as fs from \"fs\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\n/** state name of backup suffix */\nconst STATE_BACKUP_SUFFIX = \"backup-suffix\";\n\n/**\n * create backup suffix name\n * @param dirName directory to back up\n * @returns backup suffix\n */\nexport function createBackupSuffix(dirName: string): string {\n if (!fs.existsSync(dirName)) {\n // do nothing if directory does not exist\n return \"\";\n }\n\n const backupSuffix = `.bak-${Date.now()}`;\n core.saveState(STATE_BACKUP_SUFFIX, backupSuffix);\n return backupSuffix;\n}\n\n/**\n * get backup suffix name\n * @returns backup suffix (if not, empty string)\n */\nexport function getBackupSuffix(): string {\n return core.getState(STATE_BACKUP_SUFFIX);\n}\n\n/**\n * get SSH directory\n * @returns SSH directory name\n */\nexport function getSshDirectory(): string {\n return path.resolve(getHomeDirectory(), \".ssh\");\n}\n\n/**\n * get home directory\n * @returns home directory name\n */\nfunction getHomeDirectory(): string {\n const homeEnv = getHomeEnv();\n const home = process.env[homeEnv];\n if (home === undefined) {\n throw Error(`${homeEnv} is not defined`);\n }\n\n if (home === \"/github/home\") {\n // Docker container\n return \"/root\";\n }\n\n return home;\n}\n\n/**\n * get HOME environment name\n * @returns HOME environment name\n */\nfunction getHomeEnv(): string {\n if (process.platform === \"win32\") {\n // Windows\n return \"USERPROFILE\";\n }\n\n // macOS / Linux\n return \"HOME\";\n}\n"], - "mappings": "8xBAUA,SAAgBA,GAAeC,EAAU,CACvC,OAAIA,GAAU,KACL,GACE,OAAOA,GAAU,UAAYA,aAAiB,OAChDA,EAEF,KAAK,UAAUA,CAAK,CAC7B,CAPAC,EAAA,eAAAF,GAeA,SAAgBG,GACdC,EAA0C,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AAa,CACjB,IAAK,UAED,MAAO,GAEX,IAAK,SAED,MAAO,GAEX,QAEI,MAAM,IAAI,MAAM,0GAA0G,CAClI,CACJ,CAOA,SAASO,GAAqBT,EAA8B,CACxD,OAAIA,IAAe,cACRL,GAEJA,GAAY,OAAOK,CAAU,CACxC", - "names": ["toCommandValue", "input", "exports", "toCommandProperties", "annotationProperties", "os", "__importStar", "utils_1", "issueCommand", "command", "properties", "message", "cmd", "Command", "exports", "issue", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "rng", "poolPtr", "rnds8Pool", "crypto", "import_crypto", "init_rng", "__esmMin", "regex_default", "init_regex", "__esmMin", "validate", "uuid", "regex_default", "validate_default", "init_validate", "__esmMin", "init_regex", "stringify", "arr", "offset", "uuid", "byteToHex", "validate_default", "stringify_default", "init_stringify", "__esmMin", "init_validate", "i", "v1", "options", "buf", "offset", "i", "b", "node", "_nodeId", "clockseq", "_clockseq", "seedBytes", "rng", "msecs", "nsecs", "_lastNSecs", "dt", "_lastMSecs", "tl", "tmh", "n", "stringify_default", "v1_default", "init_v1", "__esmMin", "init_rng", "init_stringify", "parse", "uuid", "validate_default", "v", "arr", "parse_default", "init_parse", "__esmMin", "init_validate", "stringToBytes", "str", "bytes", "i", "v35_default", "name", "version", "hashfunc", "generateUUID", "value", "namespace", "buf", "offset", "parse_default", "stringify_default", "DNS", "URL", "init_v35", "__esmMin", "init_stringify", "init_parse", "md5", "bytes", "crypto", "import_crypto", "md5_default", "init_md5", "__esmMin", "v3", "v3_default", "init_v3", "__esmMin", "init_v35", "init_md5", "v35_default", "md5_default", "v4", "options", "buf", "offset", "rnds", "rng", "stringify_default", "v4_default", "init_v4", "__esmMin", "init_rng", "init_stringify", "sha1", "bytes", "crypto", "import_crypto", "sha1_default", "init_sha1", "__esmMin", "v5", "v5_default", "init_v5", "__esmMin", "init_v35", "init_sha1", "v35_default", "sha1_default", "nil_default", "init_nil", "__esmMin", "version", "uuid", "validate_default", "version_default", "init_version", "__esmMin", "init_validate", "esm_node_exports", "__export", "nil_default", "parse_default", "stringify_default", "v1_default", "v3_default", "v4_default", "v5_default", "validate_default", "version_default", "init_esm_node", "__esmMin", "init_v1", "init_v3", "init_v4", "init_v5", "init_nil", "init_version", "init_validate", "init_stringify", "init_parse", "fs", "__importStar", "os", "uuid_1", "utils_1", "issueFileCommand", "command", "message", "filePath", "exports", "prepareKeyValueMessage", "key", "value", "delimiter", "convertedValue", "getProxyUrl", "reqUrl", "usingSsl", "checkBypass", "proxyVar", "exports", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "http", "__importStar", "https", "pm", "tunnel", "HttpCodes", "exports", "Headers", "MediaTypes", "getProxyUrl", "serverUrl", "proxyUrl", "HttpRedirectCodes", "HttpResponseRetryCodes", "RetryableHttpVerbs", "ExponentialBackoffCeiling", "ExponentialBackoffTimeSlice", "HttpClientError", "_HttpClientError", "message", "statusCode", "HttpClientResponse", "resolve", "__awaiter", "output", "chunk", "isHttps", "requestUrl", "HttpClient", "userAgent", "handlers", "requestOptions", "additionalHeaders", "data", "verb", "stream", "res", "obj", "headers", "parsedUrl", "info", "maxTries", "numTries", "response", "authenticationHandler", "handler", "redirectsRemaining", "redirectUrl", "parsedRedirectUrl", "header", "reject", "callbackForResult", "err", "onResult", "callbackCalled", "handleResult", "req", "msg", "socket", "sock", "method", "usingSsl", "defaultPort", "lowercaseKeys", "_default", "clientHeader", "agent", "useProxy", "maxSockets", "agentOptions", "tunnelAgent", "overHttps", "options", "retryNumber", "ms", "dateTimeDeserializer", "key", "value", "a", "contents", "c", "k", "BasicCredentialHandler", "username", "password", "options", "exports", "BearerCredentialHandler", "token", "PersonalAccessTokenCredentialHandler", "http_client_1", "auth_1", "core_1", "OidcClient", "_OidcClient", "allowRetry", "maxRetry", "requestOptions", "token", "runtimeUrl", "id_token_url", "id_token", "_a", "error", "audience", "encodedAudience", "exports", "os_1", "fs_1", "access", "appendFile", "writeFile", "exports", "Summary", "pathFromEnv", "tag", "content", "attrs", "htmlAttrs", "key", "value", "options", "overwrite", "filePath", "text", "addEOL", "code", "lang", "element", "items", "ordered", "listItems", "item", "rows", "tableBody", "row", "cells", "cell", "header", "data", "colspan", "rowspan", "label", "src", "alt", "width", "height", "level", "allowedTag", "cite", "href", "_summary", "path", "__importStar", "toPosixPath", "pth", "exports", "toWin32Path", "toPlatformPath", "command_1", "file_command_1", "utils_1", "os", "__importStar", "path", "oidc_utils_1", "ExitCode", "exports", "exportVariable", "name", "val", "convertedVal", "setSecret", "secret", "addPath", "inputPath", "getInput", "options", "getMultilineInput", "inputs", "x", "input", "getBooleanInput", "trueValue", "falseValue", "setOutput", "value", "setCommandEcho", "enabled", "setFailed", "message", "error", "isDebug", "debug", "properties", "warning", "notice", "info", "startGroup", "endGroup", "group", "fn", "result", "saveState", "getState", "getIDToken", "aud", "summary_1", "summary_2", "path_utils_1", "main_exports", "__export", "main", "__toCommonJS", "fs", "path", "core", "fs", "path", "core", "STATE_BACKUP_SUFFIX", "createBackupSuffix", "dirName", "backupSuffix", "getSshDirectory", "getHomeDirectory", "homeEnv", "getHomeEnv", "home", "KNOWN_HOSTS", "main", "err", "key", "name", "knownHosts", "config", "ifKeyExists", "sshDirName", "getSshDirectory", "backupSuffix", "createBackupSuffix", "files", "insertLf", "buildKnownHostsArray", "shouldCreateKeyFile", "backedUpFileNames", "file", "fileName", "backup", "removeOrig", "fileNameBak", "value", "prepend", "append", "affectedValue", "keyFilePath"] + "sourcesContent": [null, null, "import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}", "export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;", "import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;", "import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;", "import rng from './rng.js';\nimport stringify from './stringify.js'; // **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || rng)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || stringify(b);\n}\n\nexport default v1;", "import validate from './validate.js';\n\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nexport default parse;", "import stringify from './stringify.js';\nimport parse from './parse.js';\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nexport const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function (name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return stringify(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}", "import crypto from 'crypto';\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('md5').update(bytes).digest();\n}\n\nexport default md5;", "import v35 from './v35.js';\nimport md5 from './md5.js';\nconst v3 = v35('v3', 0x30, md5);\nexport default v3;", "import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;", "import crypto from 'crypto';\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('sha1').update(bytes).digest();\n}\n\nexport default sha1;", "import v35 from './v35.js';\nimport sha1 from './sha1.js';\nconst v5 = v35('v5', 0x50, sha1);\nexport default v5;", "export default '00000000-0000-0000-0000-000000000000';", "import validate from './validate.js';\n\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nexport default version;", "export { default as v1 } from './v1.js';\nexport { default as v3 } from './v3.js';\nexport { default as v4 } from './v4.js';\nexport { default as v5 } from './v5.js';\nexport { default as NIL } from './nil.js';\nexport { default as version } from './version.js';\nexport { default as validate } from './validate.js';\nexport { default as stringify } from './stringify.js';\nexport { default as parse } from './parse.js';", null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n", "module.exports = require('./lib/tunnel');\n", null, null, null, null, null, null, "import * as fs from \"fs\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\nimport * as common from \"./common\";\n\n/** file creation info */\ninterface FileInfo {\n /** file name */\n name: string;\n /** file contents */\n contents: string;\n /** creation options */\n options: fs.WriteFileOptions;\n /** file must not exist when creating */\n mustNotExist: boolean;\n}\n\n/** default known_hosts */\nconst KNOWN_HOSTS = [\n \"github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCj7ndNxQowgcQnjshcLrqPEiiphnt+VTTvDP6mHBL9j1aNUkY4Ue1gvwnGLVlOhGeYrnZaMgRK6+PKCUXaDbC7qtbW8gIkhL7aGCsOr/C56SJMy/BCZfxd1nWzAOxSDPgVsmerOBYfNqltV9/hWCqBywINIR+5dIg6JTJ72pcEpEjcYgXkE2YEFXV1JHnsKgbLWNlhScqb2UmyRkQyytRLtL+38TGxkxCflmO+5Z8CSSNY7GidjMIZ7Q4zMjA2n1nGrlTDkzwDCsw+wqFPGQA179cnfGWOWRVruj16z6XyvxvjJwbz0wQZ75XK5tKSb7FNyeIEs4TT4jk+S4dhPeAUC5y+bDYirYgM4GC7uEnztnZyaVWQ7B381AK4Qdrwt51ZqExKbQpTUNn+EjqoTwvqNj4kqx5QUCI0ThS/YkOxJCXmPUWZbhjpCg56i+2aB6CmK2JGhn57K5mj0MNdBXA4/WnwH6XoPWJzK5Nyu2zB3nAZp+S5hpQs+p1vN1/wsjk=\",\n];\n\ntry {\n main();\n} catch (err) {\n if (err instanceof Error) {\n core.setFailed(err);\n }\n}\n\n/**\n * main function\n */\nexport function main(): void {\n // parameters\n const key = core.getInput(\"key\", {\n required: true,\n });\n const name = core.getInput(\"name\");\n const knownHosts = core.getInput(\"known_hosts\", {\n required: true,\n });\n const config = core.getInput(\"config\");\n const ifKeyExists = core.getInput(\"if_key_exists\");\n\n // create \".ssh\" directory\n const sshDirName = common.getSshDirectory();\n const backupSuffix = common.createBackupSuffix(sshDirName);\n fs.mkdirSync(sshDirName, {\n recursive: true,\n mode: 0o700,\n });\n\n // files to be created\n const files: FileInfo[] = [\n {\n name: \"known_hosts\",\n contents: insertLf(buildKnownHostsArray(knownHosts).join(\"\\n\"), true, true),\n options: {\n mode: 0o644,\n flag: \"a\",\n },\n mustNotExist: false,\n },\n ];\n if (shouldCreateKeyFile(path.join(sshDirName, name), ifKeyExists)) {\n files.push({\n name: name,\n contents: insertLf(key, false, true),\n options: {\n mode: 0o400,\n flag: \"wx\",\n },\n mustNotExist: true,\n });\n }\n if (config !== \"\") {\n files.push({\n name: \"config\",\n contents: insertLf(config, true, true),\n options: {\n mode: 0o644,\n flag: \"a\",\n },\n mustNotExist: false,\n });\n }\n\n // create files\n const backedUpFileNames: string[] = [];\n for (const file of files) {\n const fileName = path.join(sshDirName, file.name);\n if (backup(fileName, backupSuffix, file.mustNotExist)) {\n backedUpFileNames.push(file.name);\n }\n\n fs.writeFileSync(fileName, file.contents, file.options);\n }\n\n console.log(`SSH key has been stored to ${sshDirName} successfully.`);\n if (backedUpFileNames.length > 0) {\n console.log(`Following files are backed up in suffix \"${backupSuffix}\"; ${backedUpFileNames.join(\", \")}`);\n }\n}\n\n/**\n * back up file\n * @param fileName file to back up\n * @param backupSuffix suffix\n * @param removeOrig remove original file\n * @returns is file backed up?\n */\nfunction backup(fileName: string, backupSuffix: string, removeOrig: boolean): boolean {\n if (backupSuffix === \"\") {\n return false;\n }\n if (!fs.existsSync(fileName)) {\n return false;\n }\n\n // move -> copy (in order to keep permissions when restore)\n const fileNameBak = `${fileName}${backupSuffix}`;\n fs.renameSync(fileName, fileNameBak);\n if (!removeOrig) {\n fs.copyFileSync(fileNameBak, fileName);\n }\n\n return true;\n}\n\n/**\n * prepend/append LF to value if not empty\n * @param value the value to insert LF\n * @param prepend true to prepend\n * @param append true to append\n * @returns new value\n */\nfunction insertLf(value: string, prepend: boolean, append: boolean): string {\n let affectedValue = value;\n\n if (value.length === 0) {\n // do nothing if empty\n return \"\";\n }\n if (prepend && !affectedValue.startsWith(\"\\n\")) {\n affectedValue = `\\n${affectedValue}`;\n }\n if (append && !affectedValue.endsWith(\"\\n\")) {\n affectedValue = `${affectedValue}\\n`;\n }\n\n return affectedValue;\n}\n\n/**\n * should create SSH key file?\n * @param keyFilePath path of key file\n * @param ifKeyExists action if SSH key exists\n * @returns Yes/No\n */\nfunction shouldCreateKeyFile(keyFilePath: string, ifKeyExists: string): boolean {\n if (!fs.existsSync(keyFilePath)) {\n // should create if file does not exist\n return true;\n }\n\n switch (ifKeyExists) {\n case \"replace\":\n // should create if replace (existing file will be backed up when creating)\n return true;\n\n case \"ignore\":\n // should NOT create if ignore\n return false;\n\n default:\n // error otherwise\n throw new Error(`SSH key is already installed. Set \"if_key_exists\" to \"replace\" or \"ignore\" in order to avoid this error.`);\n }\n}\n\n/**\n * build array of known_hosts\n * @param knownHosts known_hosts\n * @returns array of known_hosts\n */\nfunction buildKnownHostsArray(knownHosts: string): string[] {\n if (knownHosts === \"unnecessary\") {\n return KNOWN_HOSTS;\n }\n return KNOWN_HOSTS.concat(knownHosts);\n}\n", "import * as fs from \"fs\";\nimport * as os from \"os\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\n/** state name of backup suffix */\nconst STATE_BACKUP_SUFFIX = \"backup-suffix\";\n\n/**\n * create backup suffix name\n * @param dirName directory to back up\n * @returns backup suffix\n */\nexport function createBackupSuffix(dirName: string): string {\n if (!fs.existsSync(dirName)) {\n // do nothing if directory does not exist\n return \"\";\n }\n\n const backupSuffix = `.bak-${Date.now()}`;\n core.saveState(STATE_BACKUP_SUFFIX, backupSuffix);\n return backupSuffix;\n}\n\n/**\n * get backup suffix name\n * @returns backup suffix (if not, empty string)\n */\nexport function getBackupSuffix(): string {\n return core.getState(STATE_BACKUP_SUFFIX);\n}\n\n/**\n * get SSH directory\n * @returns SSH directory name\n */\nexport function getSshDirectory(): string {\n return path.resolve(getHomeDirectory(), \".ssh\");\n}\n\n/**\n * get home directory\n * @returns home directory name\n */\nfunction getHomeDirectory(): string {\n const homedir = os.homedir();\n if (homedir === \"/github/home\") {\n // Docker container\n return \"/root\";\n }\n\n return homedir;\n}\n"], + "mappings": "8xBAUA,SAAgBA,GAAeC,EAAU,CACvC,OAAIA,GAAU,KACL,GACE,OAAOA,GAAU,UAAYA,aAAiB,OAChDA,EAEF,KAAK,UAAUA,CAAK,CAC7B,CAPAC,EAAA,eAAAF,GAeA,SAAgBG,GACdC,EAA0C,CAE1C,OAAK,OAAO,KAAKA,CAAoB,EAAE,OAIhC,CACL,MAAOA,EAAqB,MAC5B,KAAMA,EAAqB,KAC3B,KAAMA,EAAqB,UAC3B,QAASA,EAAqB,QAC9B,IAAKA,EAAqB,YAC1B,UAAWA,EAAqB,WATzB,CAAA,CAWX,CAfAF,EAAA,oBAAAC,onBCzBA,IAAAE,GAAAC,GAAA,QAAA,IAAA,CAAA,EACAC,GAAA,IAqBA,SAAgBC,GACdC,EACAC,EACAC,EAAY,CAEZ,IAAMC,EAAM,IAAIC,GAAQJ,EAASC,EAAYC,CAAO,EACpD,QAAQ,OAAO,MAAMC,EAAI,SAAQ,EAAKP,GAAG,GAAG,CAC9C,CAPAS,EAAA,aAAAN,GASA,SAAgBO,GAAMC,EAAcL,EAAU,GAAE,CAC9CH,GAAaQ,EAAM,CAAA,EAAIL,CAAO,CAChC,CAFAG,EAAA,MAAAC,GAIA,IAAME,GAAa,KAEbJ,GAAN,KAAa,CAKX,YAAYJ,EAAiBC,EAA+BC,EAAe,CACpEF,IACHA,EAAU,mBAGZ,KAAK,QAAUA,EACf,KAAK,WAAaC,EAClB,KAAK,QAAUC,CACjB,CAEA,UAAQ,CACN,IAAIO,EAASD,GAAa,KAAK,QAE/B,G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ACxE,IAAIC,EAAgBH,EAEpB,OAAIA,EAAM,SAAW,EAEV,IAEPC,GAAW,CAACE,EAAc,WAAW;AAAA,CAAI,IACzCA,EAAgB;AAAA,EAAKA,CAAa,IAElCD,GAAU,CAACC,EAAc,SAAS;AAAA,CAAI,IACtCA,EAAgB,GAAGA,CAAa;AAAA,GAG7BA,EACX,CAQA,SAASV,GAAoBW,EAAqBnB,EAA8B,CAC5E,GAAI,CAAI,aAAWmB,CAAW,EAE1B,MAAO,GAGX,OAAQnB,EAAa,CACjB,IAAK,UAED,MAAO,GAEX,IAAK,SAED,MAAO,GAEX,QAEI,MAAM,IAAI,MAAM,0GAA0G,CAClI,CACJ,CAOA,SAASO,GAAqBT,EAA8B,CACxD,OAAIA,IAAe,cACRL,GAEJA,GAAY,OAAOK,CAAU,CACxC", + "names": ["toCommandValue", "input", "exports", "toCommandProperties", "annotationProperties", "os", "__importStar", "utils_1", "issueCommand", "command", "properties", "message", "cmd", "Command", "exports", "issue", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "rng", "poolPtr", "rnds8Pool", "crypto", "import_crypto", "init_rng", "__esmMin", "regex_default", "init_regex", "__esmMin", "validate", "uuid", "regex_default", "validate_default", "init_validate", "__esmMin", "init_regex", "stringify", "arr", "offset", "uuid", "byteToHex", "validate_default", "stringify_default", "init_stringify", "__esmMin", "init_validate", "i", "v1", "options", "buf", "offset", "i", "b", "node", "_nodeId", "clockseq", "_clockseq", "seedBytes", "rng", "msecs", "nsecs", "_lastNSecs", "dt", "_lastMSecs", "tl", "tmh", "n", "stringify_default", "v1_default", "init_v1", "__esmMin", "init_rng", "init_stringify", "parse", "uuid", "validate_default", "v", "arr", "parse_default", "init_parse", "__esmMin", "init_validate", "stringToBytes", "str", "bytes", "i", "v35_default", "name", "version", "hashfunc", "generateUUID", "value", "namespace", "buf", "offset", "parse_default", "stringify_default", "DNS", "URL", "init_v35", "__esmMin", "init_stringify", "init_parse", "md5", "bytes", "crypto", "import_crypto", "md5_default", "init_md5", "__esmMin", "v3", "v3_default", "init_v3", "__esmMin", "init_v35", "init_md5", "v35_default", "md5_default", "v4", "options", "buf", "offset", "rnds", "rng", "stringify_default", "v4_default", "init_v4", "__esmMin", "init_rng", "init_stringify", "sha1", "bytes", "crypto", "import_crypto", "sha1_default", "init_sha1", "__esmMin", "v5", "v5_default", "init_v5", "__esmMin", "init_v35", "init_sha1", "v35_default", "sha1_default", "nil_default", "init_nil", "__esmMin", "version", "uuid", "validate_default", "version_default", "init_version", "__esmMin", "init_validate", "esm_node_exports", "__export", "nil_default", "parse_default", "stringify_default", "v1_default", "v3_default", "v4_default", "v5_default", "validate_default", "version_default", "init_esm_node", "__esmMin", "init_v1", "init_v3", "init_v4", "init_v5", "init_nil", "init_version", "init_validate", "init_stringify", "init_parse", "fs", "__importStar", "os", "uuid_1", "utils_1", "issueFileCommand", "command", "message", "filePath", "exports", "prepareKeyValueMessage", "key", "value", "delimiter", "convertedValue", "getProxyUrl", "reqUrl", "usingSsl", "checkBypass", "proxyVar", "exports", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "http", "__importStar", "https", "pm", "tunnel", "HttpCodes", "exports", "Headers", "MediaTypes", "getProxyUrl", "serverUrl", "proxyUrl", "HttpRedirectCodes", "HttpResponseRetryCodes", "RetryableHttpVerbs", "ExponentialBackoffCeiling", "ExponentialBackoffTimeSlice", "HttpClientError", "_HttpClientError", "message", "statusCode", "HttpClientResponse", "resolve", "__awaiter", "output", "chunk", "isHttps", "requestUrl", "HttpClient", "userAgent", "handlers", "requestOptions", "additionalHeaders", "data", "verb", "stream", "res", "obj", "headers", "parsedUrl", "info", "maxTries", "numTries", "response", "authenticationHandler", "handler", "redirectsRemaining", "redirectUrl", "parsedRedirectUrl", "header", "reject", "callbackForResult", "err", "onResult", "callbackCalled", "handleResult", "req", "msg", "socket", "sock", "method", "usingSsl", "defaultPort", "lowercaseKeys", "_default", "clientHeader", "agent", "useProxy", "maxSockets", "agentOptions", "tunnelAgent", "overHttps", "options", "retryNumber", "ms", "dateTimeDeserializer", "key", "value", "a", "contents", "c", "k", "BasicCredentialHandler", "username", "password", "options", "exports", "BearerCredentialHandler", "token", "PersonalAccessTokenCredentialHandler", "http_client_1", "auth_1", "core_1", "OidcClient", "_OidcClient", "allowRetry", "maxRetry", "requestOptions", "token", "runtimeUrl", "id_token_url", "id_token", "_a", "error", "audience", "encodedAudience", "exports", "os_1", "fs_1", "access", "appendFile", "writeFile", "exports", "Summary", "pathFromEnv", "tag", "content", "attrs", "htmlAttrs", "key", "value", "options", "overwrite", "filePath", "text", "addEOL", "code", "lang", "element", "items", "ordered", "listItems", "item", "rows", "tableBody", "row", "cells", "cell", "header", "data", "colspan", "rowspan", "label", "src", "alt", "width", "height", "level", "allowedTag", "cite", "href", "_summary", "path", "__importStar", "toPosixPath", "pth", "exports", "toWin32Path", "toPlatformPath", "command_1", "file_command_1", "utils_1", "os", "__importStar", "path", "oidc_utils_1", "ExitCode", "exports", "exportVariable", "name", "val", "convertedVal", "setSecret", "secret", "addPath", "inputPath", "getInput", "options", "getMultilineInput", "inputs", "x", "input", "getBooleanInput", "trueValue", "falseValue", "setOutput", "value", "setCommandEcho", "enabled", "setFailed", "message", "error", "isDebug", "debug", "properties", "warning", "notice", "info", "startGroup", "endGroup", "group", "fn", "result", "saveState", "getState", "getIDToken", "aud", "summary_1", "summary_2", "path_utils_1", "main_exports", "__export", "main", "__toCommonJS", "fs", "path", "core", "fs", "os", "path", "core", "STATE_BACKUP_SUFFIX", "createBackupSuffix", "dirName", "backupSuffix", "getSshDirectory", "getHomeDirectory", "homedir", "KNOWN_HOSTS", "main", "err", "key", "name", "knownHosts", "config", "ifKeyExists", "sshDirName", "getSshDirectory", "backupSuffix", "createBackupSuffix", "files", "insertLf", "buildKnownHostsArray", "shouldCreateKeyFile", "backedUpFileNames", "file", "fileName", "backup", "removeOrig", "fileNameBak", "value", "prepend", "append", "affectedValue", "keyFilePath"] } diff --git a/dist/post.js b/dist/post.js index 87524ee..03a1239 100644 --- a/dist/post.js +++ b/dist/post.js @@ -1,9 +1,9 @@ -"use strict";var jt=Object.create;var J=Object.defineProperty;var It=Object.getOwnPropertyDescriptor;var $t=Object.getOwnPropertyNames;var Lt=Object.getPrototypeOf,Ft=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qe=(e,t)=>{for(var r in t)J(e,r,{get:t[r],enumerable:!0})},Ue=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $t(t))!Ft.call(e,i)&&i!==r&&J(e,i,{get:()=>t[i],enumerable:!(n=It(t,i))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?jt(Lt(e)):{},Ue(t||!e||!e.__esModule?J(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>Ue(J({},"__esModule",{value:!0}),e);var K=O(k=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.toCommandProperties=k.toCommandValue=void 0;function Vt(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}k.toCommandValue=Vt;function Gt(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}k.toCommandProperties=Gt});var ke=O(E=>{"use strict";var Jt=E&&E.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Kt=E&&E.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Wt=E&&E.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Jt(t,e,r);return Kt(t,e),t};Object.defineProperty(E,"__esModule",{value:!0});E.issue=E.issueCommand=void 0;var Ht=Wt(require("os")),De=K();function Be(e,t,r){let n=new ie(e,t,r);process.stdout.write(n.toString()+Ht.EOL)}E.issueCommand=Be;function zt(e,t=""){Be(e,{},t)}E.issue=zt;var Ce="::",ie=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=Ce+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:t+=",",t+=`${n}=${Qt(i)}`)}}return t+=`${Ce}${Yt(this.message)}`,t}};function Yt(e){return De.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Qt(e){return De.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function F(){return W>H.length-16&&(Ne.default.randomFillSync(H),W=0),H.slice(W,W+=16)}var Ne,H,W,oe=v(()=>{Ne=T(require("crypto")),H=new Uint8Array(256),W=H.length});var je,Ie=v(()=>{je=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function Xt(e){return typeof e=="string"&&je.test(e)}var A,V=v(()=>{Ie();A=Xt});function Zt(e,t=0){let r=(g[e[t+0]]+g[e[t+1]]+g[e[t+2]]+g[e[t+3]]+"-"+g[e[t+4]]+g[e[t+5]]+"-"+g[e[t+6]]+g[e[t+7]]+"-"+g[e[t+8]]+g[e[t+9]]+"-"+g[e[t+10]]+g[e[t+11]]+g[e[t+12]]+g[e[t+13]]+g[e[t+14]]+g[e[t+15]]).toLowerCase();if(!A(r))throw TypeError("Stringified UUID is invalid");return r}var g,q,G=v(()=>{V();g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));q=Zt});function er(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let o=e.node||$e,s=e.clockseq!==void 0?e.clockseq:se;if(o==null||s==null){let h=e.random||(e.rng||F)();o==null&&(o=$e=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),s==null&&(s=se=(h[6]<<8|h[7])&16383)}let u=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:ue+1,a=u-ae+(l-ue)/1e4;if(a<0&&e.clockseq===void 0&&(s=s+1&16383),(a<0||u>ae)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ae=u,ue=l,se=s,u+=122192928e5;let c=((u&268435455)*1e4+l)%4294967296;i[n++]=c>>>24&255,i[n++]=c>>>16&255,i[n++]=c>>>8&255,i[n++]=c&255;let d=u/4294967296*1e4&268435455;i[n++]=d>>>8&255,i[n++]=d&255,i[n++]=d>>>24&15|16,i[n++]=d>>>16&255,i[n++]=s>>>8|128,i[n++]=s&255;for(let h=0;h<6;++h)i[n+h]=o[h];return t||q(i)}var $e,se,ae,ue,Le,Fe=v(()=>{oe();G();ae=0,ue=0;Le=er});function tr(e){if(!A(e))throw TypeError("Invalid UUID");let t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}var z,ce=v(()=>{V();z=tr});function rr(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{G();ce();nr="6ba7b810-9dad-11d1-80b4-00c04fd430c8",ir="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function or(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ve.default.createHash("md5").update(e).digest()}var Ve,Ge,Je=v(()=>{Ve=T(require("crypto"));Ge=or});var sr,Ke,We=v(()=>{le();Je();sr=Y("v3",48,Ge),Ke=sr});function ar(e,t,r){e=e||{};let n=e.random||(e.rng||F)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return q(n)}var He,ze=v(()=>{oe();G();He=ar});function ur(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ye.default.createHash("sha1").update(e).digest()}var Ye,Qe,Xe=v(()=>{Ye=T(require("crypto"));Qe=ur});var cr,Ze,et=v(()=>{le();Xe();cr=Y("v5",80,Qe),Ze=cr});var tt,rt=v(()=>{tt="00000000-0000-0000-0000-000000000000"});function lr(e){if(!A(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var nt,it=v(()=>{V();nt=lr});var ot={};qe(ot,{NIL:()=>tt,parse:()=>z,stringify:()=>q,v1:()=>Le,v3:()=>Ke,v4:()=>He,v5:()=>Ze,validate:()=>A,version:()=>nt});var st=v(()=>{Fe();We();ze();et();rt();it();V();G();ce()});var lt=O(S=>{"use strict";var fr=S&&S.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),dr=S&&S.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ut=S&&S.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&fr(t,e,r);return dr(t,e),t};Object.defineProperty(S,"__esModule",{value:!0});S.prepareKeyValueMessage=S.issueFileCommand=void 0;var at=ut(require("fs")),fe=ut(require("os")),hr=(st(),Me(ot)),ct=K();function pr(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!at.existsSync(r))throw new Error(`Missing file at path: ${r}`);at.appendFileSync(r,`${ct.toCommandValue(t)}${fe.EOL}`,{encoding:"utf8"})}S.issueFileCommand=pr;function mr(e,t){let r=`ghadelimiter_${hr.v4()}`,n=ct.toCommandValue(t);if(e.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${fe.EOL}${n}${fe.EOL}${r}`}S.prepareKeyValueMessage=mr});var dt=O(N=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0});N.checkBypass=N.getProxyUrl=void 0;function gr(e){let t=e.protocol==="https:";if(ft(e))return;let r=(()=>t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(r)return new URL(r)}N.getProxyUrl=gr;function ft(e){if(!e.hostname)return!1;let t=e.hostname;if(vr(t))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;e.port?n=Number(e.port):e.protocol==="http:"?n=80:e.protocol==="https:"&&(n=443);let i=[e.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let o of r.split(",").map(s=>s.trim().toUpperCase()).filter(s=>s))if(o==="*"||i.some(s=>s===o||s.endsWith(`.${o}`)||o.startsWith(".")&&s.endsWith(`${o}`)))return!0;return!1}N.checkBypass=ft;function vr(e){let t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}});var gt=O(j=>{"use strict";var di=require("net"),_r=require("tls"),de=require("http"),ht=require("https"),yr=require("events"),hi=require("assert"),wr=require("util");j.httpOverHttp=Or;j.httpsOverHttp=Er;j.httpOverHttps=Sr;j.httpsOverHttps=br;function Or(e){var t=new P(e);return t.request=de.request,t}function Er(e){var t=new P(e);return t.request=de.request,t.createSocket=pt,t.defaultPort=443,t}function Sr(e){var t=new P(e);return t.request=ht.request,t}function br(e){var t=new P(e);return t.request=ht.request,t.createSocket=pt,t.defaultPort=443,t}function P(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||de.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,o,s){for(var u=mt(i,o,s),l=0,a=t.requests.length;l=this.maxSockets){o.requests.push(s);return}o.createSocket(s,function(u){u.on("free",l),u.on("close",a),u.on("agentRemove",a),t.onSocket(u);function l(){o.emit("free",u,s)}function a(c){o.removeSocket(u),u.removeListener("free",l),u.removeListener("close",a),u.removeListener("agentRemove",a)}})};P.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var o=he({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(o.localAddress=t.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),U("making CONNECT request");var s=n.request(o);s.useChunkedEncodingByDefault=!1,s.once("response",u),s.once("upgrade",l),s.once("connect",a),s.once("error",c),s.end();function u(d){d.upgrade=!0}function l(d,h,B){process.nextTick(function(){a(d,h,B)})}function a(d,h,B){if(s.removeAllListeners(),h.removeAllListeners(),d.statusCode!==200){U("tunneling socket could not be established, statusCode=%d",d.statusCode),h.destroy();var L=new Error("tunneling socket could not be established, statusCode="+d.statusCode);L.code="ECONNRESET",t.request.emit("error",L),n.removeSocket(i);return}if(B.length>0){U("got illegal response body from proxy"),h.destroy();var L=new Error("got illegal response body from proxy");L.code="ECONNRESET",t.request.emit("error",L),n.removeSocket(i);return}return U("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}function c(d){s.removeAllListeners(),U(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var h=new Error("tunneling socket could not be established, cause="+d.message);h.code="ECONNRESET",t.request.emit("error",h),n.removeSocket(i)}};P.prototype.removeSocket=function(t){var r=this.sockets.indexOf(t);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}};function pt(e,t){var r=this;P.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=he({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=_r.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s)})}function mt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function he(e){for(var t=1,r=arguments.length;t{vt.exports=gt()});var wt=O(p=>{"use strict";var Rr=p&&p.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),xr=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),re=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Rr(t,e,r);return xr(t,e),t},m=p&&p.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.HttpClient=p.isHttps=p.HttpClientResponse=p.HttpClientError=p.getProxyUrl=p.MediaTypes=p.Headers=p.HttpCodes=void 0;var Q=re(require("http")),pe=re(require("https")),yt=re(dt()),X=re(_t()),R;(function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"})(R=p.HttpCodes||(p.HttpCodes={}));var _;(function(e){e.Accept="accept",e.ContentType="content-type"})(_=p.Headers||(p.Headers={}));var M;(function(e){e.ApplicationJson="application/json"})(M=p.MediaTypes||(p.MediaTypes={}));function Pr(e){let t=yt.getProxyUrl(new URL(e));return t?t.href:""}p.getProxyUrl=Pr;var Tr=[R.MovedPermanently,R.ResourceMoved,R.SeeOther,R.TemporaryRedirect,R.PermanentRedirect],Ar=[R.BadGateway,R.ServiceUnavailable,R.GatewayTimeout],qr=["OPTIONS","GET","DELETE","HEAD"],Ur=10,Mr=5,ee=class e extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,e.prototype)}};p.HttpClientError=ee;var te=class{constructor(t){this.message=t}readBody(){return m(this,void 0,void 0,function*(){return new Promise(t=>m(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}};p.HttpClientResponse=te;function Cr(e){return new URL(e).protocol==="https:"}p.isHttps=Cr;var me=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return m(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return m(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return m(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return m(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return m(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return m(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return m(this,void 0,void 0,function*(){r[_.Accept]=this._getExistingOrDefaultHeader(r,_.Accept,M.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,M.ApplicationJson),n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,M.ApplicationJson);let o=yield this.post(t,i,n);return this._processResponse(o,this.requestOptions)})}putJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,M.ApplicationJson),n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,M.ApplicationJson);let o=yield this.put(t,i,n);return this._processResponse(o,this.requestOptions)})}patchJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,M.ApplicationJson),n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,M.ApplicationJson);let o=yield this.patch(t,i,n);return this._processResponse(o,this.requestOptions)})}request(t,r,n,i){return m(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let o=new URL(r),s=this._prepareRequest(t,o,i),u=this._allowRetries&&qr.includes(t)?this._maxRetries+1:1,l=0,a;do{if(a=yield this.requestRaw(s,n),a&&a.message&&a.message.statusCode===R.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(a)){d=h;break}return d?d.handleAuthentication(this,s,n):a}let c=this._maxRedirects;for(;a.message.statusCode&&Tr.includes(a.message.statusCode)&&this._allowRedirects&&c>0;){let d=a.message.headers.location;if(!d)break;let h=new URL(d);if(o.protocol==="https:"&&o.protocol!==h.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),h.hostname!==o.hostname)for(let B in i)B.toLowerCase()==="authorization"&&delete i[B];s=this._prepareRequest(t,h,i),a=yield this.requestRaw(s,n),c--}if(!a.message.statusCode||!Ar.includes(a.message.statusCode))return a;l+=1,l{function o(s,u){s?i(s):u?n(u):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,o)})})}requestRawWithCallback(t,r,n){typeof r=="string"&&(t.options.headers||(t.options.headers={}),t.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function o(l,a){i||(i=!0,n(l,a))}let s=t.httpModule.request(t.options,l=>{let a=new te(l);o(void 0,a)}),u;s.on("socket",l=>{u=l}),s.setTimeout(this._socketTimeout||3*6e4,()=>{u&&u.end(),o(new Error(`Request timeout: ${t.options.path}`))}),s.on("error",function(l){o(l)}),r&&typeof r=="string"&&s.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){s.end()}),r.pipe(s)):s.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let o=i.parsedUrl.protocol==="https:";i.httpModule=o?pe:Q;let s=o?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):s,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let u of this.handlers)u.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Z(this.requestOptions.headers),Z(t||{})):Z(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=Z(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=yt.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),this._keepAlive&&!i&&(r=this._agent),r)return r;let o=t.protocol==="https:",s=100;if(this.requestOptions&&(s=this.requestOptions.maxSockets||Q.globalAgent.maxSockets),n&&n.hostname){let u={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,a=n.protocol==="https:";o?l=a?X.httpsOverHttps:X.httpsOverHttp:l=a?X.httpOverHttps:X.httpOverHttp,r=l(u),this._proxyAgent=r}if(this._keepAlive&&!r){let u={keepAlive:this._keepAlive,maxSockets:s};r=o?new pe.Agent(u):new Q.Agent(u),this._agent=r}return r||(r=o?pe.globalAgent:Q.globalAgent),o&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return m(this,void 0,void 0,function*(){t=Math.min(Ur,t);let r=Mr*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return m(this,void 0,void 0,function*(){return new Promise((n,i)=>m(this,void 0,void 0,function*(){let o=t.message.statusCode||0,s={statusCode:o,result:null,headers:{}};o===R.NotFound&&n(s);function u(c,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}return d}let l,a;try{a=yield t.readBody(),a&&a.length>0&&(r&&r.deserializeDates?l=JSON.parse(a,u):l=JSON.parse(a),s.result=l),s.headers=t.message.headers}catch{}if(o>299){let c;l&&l.message?c=l.message:a&&a.length>0?c=a:c=`Failed request: (${o})`;let d=new ee(c,o);d.result=s.result,i(d)}else n(s)}))})}};p.HttpClient=me;var Z=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var Ot=O(x=>{"use strict";var ye=x&&x.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(x,"__esModule",{value:!0});x.PersonalAccessTokenCredentialHandler=x.BearerCredentialHandler=x.BasicCredentialHandler=void 0;var ge=class{constructor(t,r){this.username=t,this.password=r}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return ye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};x.BasicCredentialHandler=ge;var ve=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return ye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};x.BearerCredentialHandler=ve;var _e=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return ye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};x.PersonalAccessTokenCredentialHandler=_e});var bt=O(I=>{"use strict";var Et=I&&I.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(I,"__esModule",{value:!0});I.OidcClient=void 0;var Dr=wt(),Br=Ot(),St=ne(),we=class e{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new Dr.HttpClient("actions/oidc-client",[new Br.BearerCredentialHandler(e.getRequestToken())],n)}static getRequestToken(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return t}static getIDTokenUrl(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return t}static getCall(t){var r;return Et(this,void 0,void 0,function*(){let o=(r=(yield e.createHttpClient().getJson(t).catch(s=>{throw new Error(`Failed to get ID Token. +"use strict";var It=Object.create;var J=Object.defineProperty;var $t=Object.getOwnPropertyDescriptor;var Lt=Object.getOwnPropertyNames;var Ft=Object.getPrototypeOf,Vt=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var O=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),qe=(e,t)=>{for(var r in t)J(e,r,{get:t[r],enumerable:!0})},Ue=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Lt(t))!Vt.call(e,i)&&i!==r&&J(e,i,{get:()=>t[i],enumerable:!(n=$t(t,i))||n.enumerable});return e};var T=(e,t,r)=>(r=e!=null?It(Ft(e)):{},Ue(t||!e||!e.__esModule?J(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>Ue(J({},"__esModule",{value:!0}),e);var K=O(k=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.toCommandProperties=k.toCommandValue=void 0;function Gt(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}k.toCommandValue=Gt;function Jt(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}k.toCommandProperties=Jt});var ke=O(S=>{"use strict";var Kt=S&&S.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Wt=S&&S.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Ht=S&&S.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Kt(t,e,r);return Wt(t,e),t};Object.defineProperty(S,"__esModule",{value:!0});S.issue=S.issueCommand=void 0;var zt=Ht(require("os")),De=K();function Be(e,t,r){let n=new ie(e,t,r);process.stdout.write(n.toString()+zt.EOL)}S.issueCommand=Be;function Yt(e,t=""){Be(e,{},t)}S.issue=Yt;var Ce="::",ie=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=Ce+this.command;if(this.properties&&Object.keys(this.properties).length>0){t+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let i=this.properties[n];i&&(r?r=!1:t+=",",t+=`${n}=${Xt(i)}`)}}return t+=`${Ce}${Qt(this.message)}`,t}};function Qt(e){return De.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Xt(e){return De.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function F(){return W>H.length-16&&(Ne.default.randomFillSync(H),W=0),H.slice(W,W+=16)}var Ne,H,W,oe=v(()=>{Ne=T(require("crypto")),H=new Uint8Array(256),W=H.length});var je,Ie=v(()=>{je=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i});function Zt(e){return typeof e=="string"&&je.test(e)}var A,V=v(()=>{Ie();A=Zt});function er(e,t=0){let r=(g[e[t+0]]+g[e[t+1]]+g[e[t+2]]+g[e[t+3]]+"-"+g[e[t+4]]+g[e[t+5]]+"-"+g[e[t+6]]+g[e[t+7]]+"-"+g[e[t+8]]+g[e[t+9]]+"-"+g[e[t+10]]+g[e[t+11]]+g[e[t+12]]+g[e[t+13]]+g[e[t+14]]+g[e[t+15]]).toLowerCase();if(!A(r))throw TypeError("Stringified UUID is invalid");return r}var g,q,G=v(()=>{V();g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));q=er});function tr(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let o=e.node||$e,s=e.clockseq!==void 0?e.clockseq:se;if(o==null||s==null){let h=e.random||(e.rng||F)();o==null&&(o=$e=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),s==null&&(s=se=(h[6]<<8|h[7])&16383)}let u=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:ue+1,a=u-ae+(l-ue)/1e4;if(a<0&&e.clockseq===void 0&&(s=s+1&16383),(a<0||u>ae)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ae=u,ue=l,se=s,u+=122192928e5;let c=((u&268435455)*1e4+l)%4294967296;i[n++]=c>>>24&255,i[n++]=c>>>16&255,i[n++]=c>>>8&255,i[n++]=c&255;let d=u/4294967296*1e4&268435455;i[n++]=d>>>8&255,i[n++]=d&255,i[n++]=d>>>24&15|16,i[n++]=d>>>16&255,i[n++]=s>>>8|128,i[n++]=s&255;for(let h=0;h<6;++h)i[n+h]=o[h];return t||q(i)}var $e,se,ae,ue,Le,Fe=v(()=>{oe();G();ae=0,ue=0;Le=tr});function rr(e){if(!A(e))throw TypeError("Invalid UUID");let t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=t&255,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=t&255,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=t&255,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=t&255,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=t&255,r}var z,ce=v(()=>{V();z=rr});function nr(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{G();ce();ir="6ba7b810-9dad-11d1-80b4-00c04fd430c8",or="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function sr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ve.default.createHash("md5").update(e).digest()}var Ve,Ge,Je=v(()=>{Ve=T(require("crypto"));Ge=sr});var ar,Ke,We=v(()=>{le();Je();ar=Y("v3",48,Ge),Ke=ar});function ur(e,t,r){e=e||{};let n=e.random||(e.rng||F)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return q(n)}var He,ze=v(()=>{oe();G();He=ur});function cr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ye.default.createHash("sha1").update(e).digest()}var Ye,Qe,Xe=v(()=>{Ye=T(require("crypto"));Qe=cr});var lr,Ze,et=v(()=>{le();Xe();lr=Y("v5",80,Qe),Ze=lr});var tt,rt=v(()=>{tt="00000000-0000-0000-0000-000000000000"});function fr(e){if(!A(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var nt,it=v(()=>{V();nt=fr});var ot={};qe(ot,{NIL:()=>tt,parse:()=>z,stringify:()=>q,v1:()=>Le,v3:()=>Ke,v4:()=>He,v5:()=>Ze,validate:()=>A,version:()=>nt});var st=v(()=>{Fe();We();ze();et();rt();it();V();G();ce()});var lt=O(b=>{"use strict";var dr=b&&b.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),hr=b&&b.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ut=b&&b.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&dr(t,e,r);return hr(t,e),t};Object.defineProperty(b,"__esModule",{value:!0});b.prepareKeyValueMessage=b.issueFileCommand=void 0;var at=ut(require("fs")),fe=ut(require("os")),pr=(st(),Me(ot)),ct=K();function mr(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!at.existsSync(r))throw new Error(`Missing file at path: ${r}`);at.appendFileSync(r,`${ct.toCommandValue(t)}${fe.EOL}`,{encoding:"utf8"})}b.issueFileCommand=mr;function gr(e,t){let r=`ghadelimiter_${pr.v4()}`,n=ct.toCommandValue(t);if(e.includes(r))throw new Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(n.includes(r))throw new Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${fe.EOL}${n}${fe.EOL}${r}`}b.prepareKeyValueMessage=gr});var dt=O(N=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0});N.checkBypass=N.getProxyUrl=void 0;function vr(e){let t=e.protocol==="https:";if(ft(e))return;let r=(()=>t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY)();if(r)return new URL(r)}N.getProxyUrl=vr;function ft(e){if(!e.hostname)return!1;let t=e.hostname;if(_r(t))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;e.port?n=Number(e.port):e.protocol==="http:"?n=80:e.protocol==="https:"&&(n=443);let i=[e.hostname.toUpperCase()];typeof n=="number"&&i.push(`${i[0]}:${n}`);for(let o of r.split(",").map(s=>s.trim().toUpperCase()).filter(s=>s))if(o==="*"||i.some(s=>s===o||s.endsWith(`.${o}`)||o.startsWith(".")&&s.endsWith(`${o}`)))return!0;return!1}N.checkBypass=ft;function _r(e){let t=e.toLowerCase();return t==="localhost"||t.startsWith("127.")||t.startsWith("[::1]")||t.startsWith("[0:0:0:0:0:0:0:1]")}});var gt=O(j=>{"use strict";var di=require("net"),yr=require("tls"),de=require("http"),ht=require("https"),wr=require("events"),hi=require("assert"),Or=require("util");j.httpOverHttp=Sr;j.httpsOverHttp=br;j.httpOverHttps=Er;j.httpsOverHttps=Rr;function Sr(e){var t=new P(e);return t.request=de.request,t}function br(e){var t=new P(e);return t.request=de.request,t.createSocket=pt,t.defaultPort=443,t}function Er(e){var t=new P(e);return t.request=ht.request,t}function Rr(e){var t=new P(e);return t.request=ht.request,t.createSocket=pt,t.defaultPort=443,t}function P(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||de.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,o,s){for(var u=mt(i,o,s),l=0,a=t.requests.length;l=this.maxSockets){o.requests.push(s);return}o.createSocket(s,function(u){u.on("free",l),u.on("close",a),u.on("agentRemove",a),t.onSocket(u);function l(){o.emit("free",u,s)}function a(c){o.removeSocket(u),u.removeListener("free",l),u.removeListener("close",a),u.removeListener("agentRemove",a)}})};P.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var o=he({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(o.localAddress=t.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),U("making CONNECT request");var s=n.request(o);s.useChunkedEncodingByDefault=!1,s.once("response",u),s.once("upgrade",l),s.once("connect",a),s.once("error",c),s.end();function u(d){d.upgrade=!0}function l(d,h,B){process.nextTick(function(){a(d,h,B)})}function a(d,h,B){if(s.removeAllListeners(),h.removeAllListeners(),d.statusCode!==200){U("tunneling socket could not be established, statusCode=%d",d.statusCode),h.destroy();var L=new Error("tunneling socket could not be established, statusCode="+d.statusCode);L.code="ECONNRESET",t.request.emit("error",L),n.removeSocket(i);return}if(B.length>0){U("got illegal response body from proxy"),h.destroy();var L=new Error("got illegal response body from proxy");L.code="ECONNRESET",t.request.emit("error",L),n.removeSocket(i);return}return U("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}function c(d){s.removeAllListeners(),U(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var h=new Error("tunneling socket could not be established, cause="+d.message);h.code="ECONNRESET",t.request.emit("error",h),n.removeSocket(i)}};P.prototype.removeSocket=function(t){var r=this.sockets.indexOf(t);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(i){n.request.onSocket(i)})}};function pt(e,t){var r=this;P.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=he({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=yr.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s)})}function mt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function he(e){for(var t=1,r=arguments.length;t{vt.exports=gt()});var wt=O(p=>{"use strict";var xr=p&&p.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Tr=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),re=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&xr(t,e,r);return Tr(t,e),t},m=p&&p.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.HttpClient=p.isHttps=p.HttpClientResponse=p.HttpClientError=p.getProxyUrl=p.MediaTypes=p.Headers=p.HttpCodes=void 0;var Q=re(require("http")),pe=re(require("https")),yt=re(dt()),X=re(_t()),R;(function(e){e[e.OK=200]="OK",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.ResourceMoved=302]="ResourceMoved",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.SwitchProxy=306]="SwitchProxy",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.TooManyRequests=429]="TooManyRequests",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout"})(R=p.HttpCodes||(p.HttpCodes={}));var _;(function(e){e.Accept="accept",e.ContentType="content-type"})(_=p.Headers||(p.Headers={}));var M;(function(e){e.ApplicationJson="application/json"})(M=p.MediaTypes||(p.MediaTypes={}));function Pr(e){let t=yt.getProxyUrl(new URL(e));return t?t.href:""}p.getProxyUrl=Pr;var Ar=[R.MovedPermanently,R.ResourceMoved,R.SeeOther,R.TemporaryRedirect,R.PermanentRedirect],qr=[R.BadGateway,R.ServiceUnavailable,R.GatewayTimeout],Ur=["OPTIONS","GET","DELETE","HEAD"],Mr=10,Cr=5,ee=class e extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,e.prototype)}};p.HttpClientError=ee;var te=class{constructor(t){this.message=t}readBody(){return m(this,void 0,void 0,function*(){return new Promise(t=>m(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}};p.HttpClientResponse=te;function Dr(e){return new URL(e).protocol==="https:"}p.isHttps=Dr;var me=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return m(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return m(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return m(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return m(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return m(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return m(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return m(this,void 0,void 0,function*(){r[_.Accept]=this._getExistingOrDefaultHeader(r,_.Accept,M.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,M.ApplicationJson),n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,M.ApplicationJson);let o=yield this.post(t,i,n);return this._processResponse(o,this.requestOptions)})}putJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,M.ApplicationJson),n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,M.ApplicationJson);let o=yield this.put(t,i,n);return this._processResponse(o,this.requestOptions)})}patchJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[_.Accept]=this._getExistingOrDefaultHeader(n,_.Accept,M.ApplicationJson),n[_.ContentType]=this._getExistingOrDefaultHeader(n,_.ContentType,M.ApplicationJson);let o=yield this.patch(t,i,n);return this._processResponse(o,this.requestOptions)})}request(t,r,n,i){return m(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let o=new URL(r),s=this._prepareRequest(t,o,i),u=this._allowRetries&&Ur.includes(t)?this._maxRetries+1:1,l=0,a;do{if(a=yield this.requestRaw(s,n),a&&a.message&&a.message.statusCode===R.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(a)){d=h;break}return d?d.handleAuthentication(this,s,n):a}let c=this._maxRedirects;for(;a.message.statusCode&&Ar.includes(a.message.statusCode)&&this._allowRedirects&&c>0;){let d=a.message.headers.location;if(!d)break;let h=new URL(d);if(o.protocol==="https:"&&o.protocol!==h.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),h.hostname!==o.hostname)for(let B in i)B.toLowerCase()==="authorization"&&delete i[B];s=this._prepareRequest(t,h,i),a=yield this.requestRaw(s,n),c--}if(!a.message.statusCode||!qr.includes(a.message.statusCode))return a;l+=1,l{function o(s,u){s?i(s):u?n(u):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,o)})})}requestRawWithCallback(t,r,n){typeof r=="string"&&(t.options.headers||(t.options.headers={}),t.options.headers["Content-Length"]=Buffer.byteLength(r,"utf8"));let i=!1;function o(l,a){i||(i=!0,n(l,a))}let s=t.httpModule.request(t.options,l=>{let a=new te(l);o(void 0,a)}),u;s.on("socket",l=>{u=l}),s.setTimeout(this._socketTimeout||3*6e4,()=>{u&&u.end(),o(new Error(`Request timeout: ${t.options.path}`))}),s.on("error",function(l){o(l)}),r&&typeof r=="string"&&s.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){s.end()}),r.pipe(s)):s.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let o=i.parsedUrl.protocol==="https:";i.httpModule=o?pe:Q;let s=o?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):s,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let u of this.handlers)u.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Z(this.requestOptions.headers),Z(t||{})):Z(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=Z(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=yt.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),this._keepAlive&&!i&&(r=this._agent),r)return r;let o=t.protocol==="https:",s=100;if(this.requestOptions&&(s=this.requestOptions.maxSockets||Q.globalAgent.maxSockets),n&&n.hostname){let u={maxSockets:s,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,a=n.protocol==="https:";o?l=a?X.httpsOverHttps:X.httpsOverHttp:l=a?X.httpOverHttps:X.httpOverHttp,r=l(u),this._proxyAgent=r}if(this._keepAlive&&!r){let u={keepAlive:this._keepAlive,maxSockets:s};r=o?new pe.Agent(u):new Q.Agent(u),this._agent=r}return r||(r=o?pe.globalAgent:Q.globalAgent),o&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return m(this,void 0,void 0,function*(){t=Math.min(Mr,t);let r=Cr*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return m(this,void 0,void 0,function*(){return new Promise((n,i)=>m(this,void 0,void 0,function*(){let o=t.message.statusCode||0,s={statusCode:o,result:null,headers:{}};o===R.NotFound&&n(s);function u(c,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}return d}let l,a;try{a=yield t.readBody(),a&&a.length>0&&(r&&r.deserializeDates?l=JSON.parse(a,u):l=JSON.parse(a),s.result=l),s.headers=t.message.headers}catch{}if(o>299){let c;l&&l.message?c=l.message:a&&a.length>0?c=a:c=`Failed request: (${o})`;let d=new ee(c,o);d.result=s.result,i(d)}else n(s)}))})}};p.HttpClient=me;var Z=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var Ot=O(x=>{"use strict";var ye=x&&x.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(x,"__esModule",{value:!0});x.PersonalAccessTokenCredentialHandler=x.BearerCredentialHandler=x.BasicCredentialHandler=void 0;var ge=class{constructor(t,r){this.username=t,this.password=r}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return ye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};x.BasicCredentialHandler=ge;var ve=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return ye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};x.BearerCredentialHandler=ve;var _e=class{constructor(t){this.token=t}prepareRequest(t){if(!t.headers)throw Error("The request has no headers");t.headers.Authorization=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return!1}handleAuthentication(){return ye(this,void 0,void 0,function*(){throw new Error("not implemented")})}};x.PersonalAccessTokenCredentialHandler=_e});var Et=O(I=>{"use strict";var St=I&&I.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(I,"__esModule",{value:!0});I.OidcClient=void 0;var Br=wt(),kr=Ot(),bt=ne(),we=class e{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new Br.HttpClient("actions/oidc-client",[new kr.BearerCredentialHandler(e.getRequestToken())],n)}static getRequestToken(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return t}static getIDTokenUrl(){let t=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!t)throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return t}static getCall(t){var r;return St(this,void 0,void 0,function*(){let o=(r=(yield e.createHttpClient().getJson(t).catch(s=>{throw new Error(`Failed to get ID Token. Error Code : ${s.statusCode} - Error Message: ${s.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!o)throw new Error("Response json body do not have ID Token field");return o})}static getIDToken(t){return Et(this,void 0,void 0,function*(){try{let r=e.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}St.debug(`ID token url is ${r}`);let n=yield e.getCall(r);return St.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};I.OidcClient=we});var be=O(y=>{"use strict";var Oe=y&&y.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(y,"__esModule",{value:!0});y.summary=y.markdownSummary=y.SUMMARY_DOCS_URL=y.SUMMARY_ENV_VAR=void 0;var kr=require("os"),Ee=require("fs"),{access:Nr,appendFile:jr,writeFile:Ir}=Ee.promises;y.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";y.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Se=class{constructor(){this._buffer=""}filePath(){return Oe(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[y.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${y.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield Nr(t,Ee.constants.R_OK|Ee.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath})}wrap(t,r,n={}){let i=Object.entries(n).map(([o,s])=>` ${o}="${s}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return Oe(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?Ir:jr)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Oe(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(t,r=!1){return this._buffer+=t,r?this.addEOL():this}addEOL(){return this.addRaw(kr.EOL)}addCodeBlock(t,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",t),n);return this.addRaw(i).addEOL()}addList(t,r=!1){let n=r?"ol":"ul",i=t.map(s=>this.wrap("li",s)).join(""),o=this.wrap(n,i);return this.addRaw(o).addEOL()}addTable(t){let r=t.map(i=>{let o=i.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:u,data:l,colspan:a,rowspan:c}=s,d=u?"th":"td",h=Object.assign(Object.assign({},a&&{colspan:a}),c&&{rowspan:c});return this.wrap(d,l,h)}).join("");return this.wrap("tr",o)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(t,r){let n=this.wrap("details",this.wrap("summary",t)+r);return this.addRaw(n).addEOL()}addImage(t,r,n){let{width:i,height:o}=n||{},s=Object.assign(Object.assign({},i&&{width:i}),o&&{height:o}),u=this.wrap("img",null,Object.assign({src:t,alt:r},s));return this.addRaw(u).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",o=this.wrap(i,t);return this.addRaw(o).addEOL()}addSeparator(){let t=this.wrap("hr",null);return this.addRaw(t).addEOL()}addBreak(){let t=this.wrap("br",null);return this.addRaw(t).addEOL()}addQuote(t,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",t,n);return this.addRaw(i).addEOL()}addLink(t,r){let n=this.wrap("a",t,{href:r});return this.addRaw(n).addEOL()}},Rt=new Se;y.markdownSummary=Rt;y.summary=Rt});var xt=O(w=>{"use strict";var $r=w&&w.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Lr=w&&w.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Fr=w&&w.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&$r(t,e,r);return Lr(t,e),t};Object.defineProperty(w,"__esModule",{value:!0});w.toPlatformPath=w.toWin32Path=w.toPosixPath=void 0;var Vr=Fr(require("path"));function Gr(e){return e.replace(/[\\]/g,"/")}w.toPosixPath=Gr;function Jr(e){return e.replace(/[/]/g,"\\")}w.toWin32Path=Jr;function Kr(e){return e.replace(/[/\\]/g,Vr.sep)}w.toPlatformPath=Kr});var ne=O(f=>{"use strict";var Wr=f&&f.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Hr=f&&f.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Pt=f&&f.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Wr(t,e,r);return Hr(t,e),t},Tt=f&&f.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(f,"__esModule",{value:!0});f.getIDToken=f.getState=f.saveState=f.group=f.endGroup=f.startGroup=f.info=f.notice=f.warning=f.error=f.debug=f.isDebug=f.setFailed=f.setCommandEcho=f.setOutput=f.getBooleanInput=f.getMultilineInput=f.getInput=f.addPath=f.setSecret=f.exportVariable=f.ExitCode=void 0;var b=ke(),C=lt(),$=K(),At=Pt(require("os")),zr=Pt(require("path")),Yr=bt(),qt;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(qt=f.ExitCode||(f.ExitCode={}));function Qr(e,t){let r=$.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return C.issueFileCommand("ENV",C.prepareKeyValueMessage(e,t));b.issueCommand("set-env",{name:e},r)}f.exportVariable=Qr;function Xr(e){b.issueCommand("add-mask",{},e)}f.setSecret=Xr;function Zr(e){process.env.GITHUB_PATH||""?C.issueFileCommand("PATH",e):b.issueCommand("add-path",{},e),process.env.PATH=`${e}${zr.delimiter}${process.env.PATH}`}f.addPath=Zr;function Re(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}f.getInput=Re;function en(e,t){let r=Re(e,t).split(` -`).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}f.getMultilineInput=en;function tn(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Re(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}f.getBooleanInput=tn;function rn(e,t){if(process.env.GITHUB_OUTPUT||"")return C.issueFileCommand("OUTPUT",C.prepareKeyValueMessage(e,t));process.stdout.write(At.EOL),b.issueCommand("set-output",{name:e},$.toCommandValue(t))}f.setOutput=rn;function nn(e){b.issue("echo",e?"on":"off")}f.setCommandEcho=nn;function on(e){process.exitCode=qt.Failure,Ut(e)}f.setFailed=on;function sn(){return process.env.RUNNER_DEBUG==="1"}f.isDebug=sn;function an(e){b.issueCommand("debug",{},e)}f.debug=an;function Ut(e,t={}){b.issueCommand("error",$.toCommandProperties(t),e instanceof Error?e.toString():e)}f.error=Ut;function un(e,t={}){b.issueCommand("warning",$.toCommandProperties(t),e instanceof Error?e.toString():e)}f.warning=un;function cn(e,t={}){b.issueCommand("notice",$.toCommandProperties(t),e instanceof Error?e.toString():e)}f.notice=cn;function ln(e){process.stdout.write(e+At.EOL)}f.info=ln;function Mt(e){b.issue("group",e)}f.startGroup=Mt;function Ct(){b.issue("endgroup")}f.endGroup=Ct;function fn(e,t){return Tt(this,void 0,void 0,function*(){Mt(e);let r;try{r=yield t()}finally{Ct()}return r})}f.group=fn;function dn(e,t){if(process.env.GITHUB_STATE||"")return C.issueFileCommand("STATE",C.prepareKeyValueMessage(e,t));b.issueCommand("save-state",{name:e},$.toCommandValue(t))}f.saveState=dn;function hn(e){return process.env[`STATE_${e}`]||""}f.getState=hn;function pn(e){return Tt(this,void 0,void 0,function*(){return yield Yr.OidcClient.getIDToken(e)})}f.getIDToken=pn;var mn=be();Object.defineProperty(f,"summary",{enumerable:!0,get:function(){return mn.summary}});var gn=be();Object.defineProperty(f,"markdownSummary",{enumerable:!0,get:function(){return gn.markdownSummary}});var xe=xt();Object.defineProperty(f,"toPosixPath",{enumerable:!0,get:function(){return xe.toPosixPath}});Object.defineProperty(f,"toWin32Path",{enumerable:!0,get:function(){return xe.toWin32Path}});Object.defineProperty(f,"toPlatformPath",{enumerable:!0,get:function(){return xe.toPlatformPath}})});var Sn={};qe(Sn,{post:()=>Nt});module.exports=Me(Sn);var D=T(require("fs")),Ae=T(require("path")),kt=T(ne());var Dt=T(require("path")),Pe=T(ne()),vn="backup-suffix";function Bt(){return Pe.getState(vn)}function Te(){return Dt.resolve(_n(),".ssh")}function _n(){let e=yn(),t=process.env[e];if(t===void 0)throw Error(`${e} is not defined`);return t==="/github/home"?"/root":t}function yn(){return process.platform==="win32"?"USERPROFILE":"HOME"}try{Nt()}catch(e){e instanceof Error&&kt.setFailed(e)}function Nt(){let e=Bt();e===""?On():En(e)}function On(){let e=Te();D.rmSync(e,{recursive:!0,force:!0}),console.log(`SSH key in ${e} has been removed successfully.`)}function En(e){let t=Te(),r=[],n=D.readdirSync(t).filter(i=>i.endsWith(e));for(let i of n){let o=i.substring(0,i.length-e.length),s=Ae.join(t,o),u=Ae.join(t,i);D.rmSync(s),D.renameSync(u,s),r.push(o)}console.log(`Following files in suffix "${e}" are restored; ${r.join(", ")}`)}0&&(module.exports={post}); + Error Message: ${s.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!o)throw new Error("Response json body do not have ID Token field");return o})}static getIDToken(t){return St(this,void 0,void 0,function*(){try{let r=e.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}bt.debug(`ID token url is ${r}`);let n=yield e.getCall(r);return bt.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};I.OidcClient=we});var Ee=O(y=>{"use strict";var Oe=y&&y.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(y,"__esModule",{value:!0});y.summary=y.markdownSummary=y.SUMMARY_DOCS_URL=y.SUMMARY_ENV_VAR=void 0;var Nr=require("os"),Se=require("fs"),{access:jr,appendFile:Ir,writeFile:$r}=Se.promises;y.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";y.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var be=class{constructor(){this._buffer=""}filePath(){return Oe(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[y.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${y.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield jr(t,Se.constants.R_OK|Se.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath})}wrap(t,r,n={}){let i=Object.entries(n).map(([o,s])=>` ${o}="${s}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return Oe(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?$r:Ir)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Oe(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer="",this}addRaw(t,r=!1){return this._buffer+=t,r?this.addEOL():this}addEOL(){return this.addRaw(Nr.EOL)}addCodeBlock(t,r){let n=Object.assign({},r&&{lang:r}),i=this.wrap("pre",this.wrap("code",t),n);return this.addRaw(i).addEOL()}addList(t,r=!1){let n=r?"ol":"ul",i=t.map(s=>this.wrap("li",s)).join(""),o=this.wrap(n,i);return this.addRaw(o).addEOL()}addTable(t){let r=t.map(i=>{let o=i.map(s=>{if(typeof s=="string")return this.wrap("td",s);let{header:u,data:l,colspan:a,rowspan:c}=s,d=u?"th":"td",h=Object.assign(Object.assign({},a&&{colspan:a}),c&&{rowspan:c});return this.wrap(d,l,h)}).join("");return this.wrap("tr",o)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(t,r){let n=this.wrap("details",this.wrap("summary",t)+r);return this.addRaw(n).addEOL()}addImage(t,r,n){let{width:i,height:o}=n||{},s=Object.assign(Object.assign({},i&&{width:i}),o&&{height:o}),u=this.wrap("img",null,Object.assign({src:t,alt:r},s));return this.addRaw(u).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",o=this.wrap(i,t);return this.addRaw(o).addEOL()}addSeparator(){let t=this.wrap("hr",null);return this.addRaw(t).addEOL()}addBreak(){let t=this.wrap("br",null);return this.addRaw(t).addEOL()}addQuote(t,r){let n=Object.assign({},r&&{cite:r}),i=this.wrap("blockquote",t,n);return this.addRaw(i).addEOL()}addLink(t,r){let n=this.wrap("a",t,{href:r});return this.addRaw(n).addEOL()}},Rt=new be;y.markdownSummary=Rt;y.summary=Rt});var xt=O(w=>{"use strict";var Lr=w&&w.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Fr=w&&w.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Vr=w&&w.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Lr(t,e,r);return Fr(t,e),t};Object.defineProperty(w,"__esModule",{value:!0});w.toPlatformPath=w.toWin32Path=w.toPosixPath=void 0;var Gr=Vr(require("path"));function Jr(e){return e.replace(/[\\]/g,"/")}w.toPosixPath=Jr;function Kr(e){return e.replace(/[/]/g,"\\")}w.toWin32Path=Kr;function Wr(e){return e.replace(/[/\\]/g,Gr.sep)}w.toPlatformPath=Wr});var ne=O(f=>{"use strict";var Hr=f&&f.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),zr=f&&f.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Tt=f&&f.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Hr(t,e,r);return zr(t,e),t},Pt=f&&f.__awaiter||function(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function u(c){try{a(n.next(c))}catch(d){s(d)}}function l(c){try{a(n.throw(c))}catch(d){s(d)}}function a(c){c.done?o(c.value):i(c.value).then(u,l)}a((n=n.apply(e,t||[])).next())})};Object.defineProperty(f,"__esModule",{value:!0});f.getIDToken=f.getState=f.saveState=f.group=f.endGroup=f.startGroup=f.info=f.notice=f.warning=f.error=f.debug=f.isDebug=f.setFailed=f.setCommandEcho=f.setOutput=f.getBooleanInput=f.getMultilineInput=f.getInput=f.addPath=f.setSecret=f.exportVariable=f.ExitCode=void 0;var E=ke(),C=lt(),$=K(),At=Tt(require("os")),Yr=Tt(require("path")),Qr=Et(),qt;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(qt=f.ExitCode||(f.ExitCode={}));function Xr(e,t){let r=$.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return C.issueFileCommand("ENV",C.prepareKeyValueMessage(e,t));E.issueCommand("set-env",{name:e},r)}f.exportVariable=Xr;function Zr(e){E.issueCommand("add-mask",{},e)}f.setSecret=Zr;function en(e){process.env.GITHUB_PATH||""?C.issueFileCommand("PATH",e):E.issueCommand("add-path",{},e),process.env.PATH=`${e}${Yr.delimiter}${process.env.PATH}`}f.addPath=en;function Re(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}f.getInput=Re;function tn(e,t){let r=Re(e,t).split(` +`).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}f.getMultilineInput=tn;function rn(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Re(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}f.getBooleanInput=rn;function nn(e,t){if(process.env.GITHUB_OUTPUT||"")return C.issueFileCommand("OUTPUT",C.prepareKeyValueMessage(e,t));process.stdout.write(At.EOL),E.issueCommand("set-output",{name:e},$.toCommandValue(t))}f.setOutput=nn;function on(e){E.issue("echo",e?"on":"off")}f.setCommandEcho=on;function sn(e){process.exitCode=qt.Failure,Ut(e)}f.setFailed=sn;function an(){return process.env.RUNNER_DEBUG==="1"}f.isDebug=an;function un(e){E.issueCommand("debug",{},e)}f.debug=un;function Ut(e,t={}){E.issueCommand("error",$.toCommandProperties(t),e instanceof Error?e.toString():e)}f.error=Ut;function cn(e,t={}){E.issueCommand("warning",$.toCommandProperties(t),e instanceof Error?e.toString():e)}f.warning=cn;function ln(e,t={}){E.issueCommand("notice",$.toCommandProperties(t),e instanceof Error?e.toString():e)}f.notice=ln;function fn(e){process.stdout.write(e+At.EOL)}f.info=fn;function Mt(e){E.issue("group",e)}f.startGroup=Mt;function Ct(){E.issue("endgroup")}f.endGroup=Ct;function dn(e,t){return Pt(this,void 0,void 0,function*(){Mt(e);let r;try{r=yield t()}finally{Ct()}return r})}f.group=dn;function hn(e,t){if(process.env.GITHUB_STATE||"")return C.issueFileCommand("STATE",C.prepareKeyValueMessage(e,t));E.issueCommand("save-state",{name:e},$.toCommandValue(t))}f.saveState=hn;function pn(e){return process.env[`STATE_${e}`]||""}f.getState=pn;function mn(e){return Pt(this,void 0,void 0,function*(){return yield Qr.OidcClient.getIDToken(e)})}f.getIDToken=mn;var gn=Ee();Object.defineProperty(f,"summary",{enumerable:!0,get:function(){return gn.summary}});var vn=Ee();Object.defineProperty(f,"markdownSummary",{enumerable:!0,get:function(){return vn.markdownSummary}});var xe=xt();Object.defineProperty(f,"toPosixPath",{enumerable:!0,get:function(){return xe.toPosixPath}});Object.defineProperty(f,"toWin32Path",{enumerable:!0,get:function(){return xe.toWin32Path}});Object.defineProperty(f,"toPlatformPath",{enumerable:!0,get:function(){return xe.toPlatformPath}})});var bn={};qe(bn,{post:()=>jt});module.exports=Me(bn);var D=T(require("fs")),Ae=T(require("path")),Nt=T(ne());var Dt=T(require("os")),Bt=T(require("path")),Te=T(ne()),_n="backup-suffix";function kt(){return Te.getState(_n)}function Pe(){return Bt.resolve(yn(),".ssh")}function yn(){let e=Dt.homedir();return e==="/github/home"?"/root":e}try{jt()}catch(e){e instanceof Error&&Nt.setFailed(e)}function jt(){let e=kt();e===""?On():Sn(e)}function On(){let e=Pe();D.rmSync(e,{recursive:!0,force:!0}),console.log(`SSH key in ${e} has been removed successfully.`)}function Sn(e){let t=Pe(),r=[],n=D.readdirSync(t).filter(i=>i.endsWith(e));for(let i of n){let o=i.substring(0,i.length-e.length),s=Ae.join(t,o),u=Ae.join(t,i);D.rmSync(s),D.renameSync(u,s),r.push(o)}console.log(`Following files in suffix "${e}" are restored; ${r.join(", ")}`)}0&&(module.exports={post}); //# sourceMappingURL=post.js.map diff --git a/dist/post.js.map b/dist/post.js.map index c803a5a..cc74bad 100644 --- a/dist/post.js.map +++ b/dist/post.js.map @@ -1,7 +1,7 @@ { "version": 3, "sources": ["../node_modules/@actions/core/src/utils.ts", "../node_modules/@actions/core/src/command.ts", "../node_modules/uuid/dist/esm-node/rng.js", "../node_modules/uuid/dist/esm-node/regex.js", "../node_modules/uuid/dist/esm-node/validate.js", "../node_modules/uuid/dist/esm-node/stringify.js", "../node_modules/uuid/dist/esm-node/v1.js", "../node_modules/uuid/dist/esm-node/parse.js", "../node_modules/uuid/dist/esm-node/v35.js", "../node_modules/uuid/dist/esm-node/md5.js", "../node_modules/uuid/dist/esm-node/v3.js", "../node_modules/uuid/dist/esm-node/v4.js", "../node_modules/uuid/dist/esm-node/sha1.js", "../node_modules/uuid/dist/esm-node/v5.js", "../node_modules/uuid/dist/esm-node/nil.js", "../node_modules/uuid/dist/esm-node/version.js", "../node_modules/uuid/dist/esm-node/index.js", "../node_modules/@actions/core/src/file-command.ts", "../node_modules/@actions/http-client/src/proxy.ts", "../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/@actions/http-client/src/index.ts", "../node_modules/@actions/http-client/src/auth.ts", "../node_modules/@actions/core/src/oidc-utils.ts", "../node_modules/@actions/core/src/summary.ts", "../node_modules/@actions/core/src/path-utils.ts", "../node_modules/@actions/core/src/core.ts", "../src/post.ts", "../src/common.ts"], - "sourcesContent": [null, null, "import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}", "export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;", "import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;", "import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;", "import rng from './rng.js';\nimport stringify from './stringify.js'; // **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || rng)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || stringify(b);\n}\n\nexport default v1;", "import validate from './validate.js';\n\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nexport default parse;", "import stringify from './stringify.js';\nimport parse from './parse.js';\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nexport const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function (name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return stringify(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}", "import crypto from 'crypto';\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('md5').update(bytes).digest();\n}\n\nexport default md5;", "import v35 from './v35.js';\nimport md5 from './md5.js';\nconst v3 = v35('v3', 0x30, md5);\nexport default v3;", "import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;", "import crypto from 'crypto';\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('sha1').update(bytes).digest();\n}\n\nexport default sha1;", "import v35 from './v35.js';\nimport sha1 from './sha1.js';\nconst v5 = v35('v5', 0x50, sha1);\nexport default v5;", "export default '00000000-0000-0000-0000-000000000000';", "import validate from './validate.js';\n\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nexport default version;", "export { default as v1 } from './v1.js';\nexport { default as v3 } from './v3.js';\nexport { default as v4 } from './v4.js';\nexport { default as v5 } from './v5.js';\nexport { default as NIL } from './nil.js';\nexport { default as version } from './version.js';\nexport { default as validate } from './validate.js';\nexport { default as stringify } from './stringify.js';\nexport { default as parse } from './parse.js';", null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n", "module.exports = require('./lib/tunnel');\n", null, null, null, null, null, null, "import * as fs from \"fs\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\nimport * as common from \"./common\";\n\ntry {\n post();\n} catch (err) {\n if (err instanceof Error) {\n core.setFailed(err);\n }\n}\n\n/**\n * cleanup function\n */\nexport function post(): void {\n const backupSuffix = common.getBackupSuffix();\n if (backupSuffix === \"\") {\n // remove \".ssh\" directory if suffix is not set\n removeSshDirectory();\n } else {\n // restore files from backup suffix\n restore(backupSuffix);\n }\n}\n\n/**\n * remove \".ssh\" directory\n */\nfunction removeSshDirectory(): void {\n const dirName = common.getSshDirectory();\n fs.rmSync(dirName, {\n recursive: true,\n force: true,\n });\n\n console.log(`SSH key in ${dirName} has been removed successfully.`);\n}\n\n/**\n * restore files from backups\n * @param backupSuffix suffix of backup directory\n */\nfunction restore(backupSuffix: string): void {\n const dirName = common.getSshDirectory();\n const restoredFileNames: string[] = [];\n const entries = fs.readdirSync(dirName)\n .filter((entry) => {\n // skip if not a backed-up file\n return entry.endsWith(backupSuffix);\n });\n\n for (const entry of entries) {\n const entryOrg = entry.substring(0, entry.length - backupSuffix.length);\n const pathNameOrg = path.join(dirName, entryOrg);\n const pathNameBak = path.join(dirName, entry);\n\n fs.rmSync(pathNameOrg);\n fs.renameSync(pathNameBak, pathNameOrg);\n restoredFileNames.push(entryOrg);\n }\n console.log(`Following files in suffix \"${backupSuffix}\" are restored; ${restoredFileNames.join(\", \")}`);\n}\n", "import * as fs from \"fs\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\n/** state name of backup suffix */\nconst STATE_BACKUP_SUFFIX = \"backup-suffix\";\n\n/**\n * create backup suffix name\n * @param dirName directory to back up\n * @returns backup suffix\n */\nexport function createBackupSuffix(dirName: string): string {\n if (!fs.existsSync(dirName)) {\n // do nothing if directory does not exist\n return \"\";\n }\n\n const backupSuffix = `.bak-${Date.now()}`;\n core.saveState(STATE_BACKUP_SUFFIX, backupSuffix);\n return backupSuffix;\n}\n\n/**\n * get backup suffix name\n * @returns backup suffix (if not, empty string)\n */\nexport function getBackupSuffix(): string {\n return core.getState(STATE_BACKUP_SUFFIX);\n}\n\n/**\n * get SSH directory\n * @returns SSH directory name\n */\nexport function getSshDirectory(): string {\n return path.resolve(getHomeDirectory(), \".ssh\");\n}\n\n/**\n * get home directory\n * @returns home directory name\n */\nfunction getHomeDirectory(): string {\n const homeEnv = getHomeEnv();\n const home = process.env[homeEnv];\n if (home === undefined) {\n throw Error(`${homeEnv} is not defined`);\n }\n\n if (home === \"/github/home\") {\n // Docker container\n return \"/root\";\n }\n\n return home;\n}\n\n/**\n * get HOME environment name\n * @returns HOME environment name\n */\nfunction getHomeEnv(): string {\n if (process.platform === \"win32\") {\n // Windows\n return \"USERPROFILE\";\n }\n\n // macOS / Linux\n return \"HOME\";\n}\n"], - "mappings": "8xBAUA,SAAgBA,GAAeC,EAAU,CACvC,OAAIA,GAAU,KACL,GACE,OAAOA,GAAU,UAAYA,aAAiB,OAChDA,EAEF,KAAK,UAAUA,CAAK,CAC7B,CAPAC,EAAA,eAAAF,GAeA,SAAgBG,GACdC,EAA0C,CAE1C,OAAK,OAAO,KAAKA,CAAoB,EAAE,OAIhC,CACL,MAAOA,EAAqB,MAC5B,KAAMA,EAAqB,KAC3B,KAAMA,EAAqB,UAC3B,QAASA,EAAqB,QAC9B,IAAKA,EAAqB,YAC1B,UAAWA,EAAqB,WATzB,C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WAAQC,GAAiB,EAAG,MAAM,CAClD,CAMA,SAASA,IAA2B,CAChC,IAAMC,EAAUC,GAAW,EACrBC,EAAO,QAAQ,IAAIF,CAAO,EAChC,GAAIE,IAAS,OACT,MAAM,MAAM,GAAGF,CAAO,iBAAiB,EAG3C,OAAIE,IAAS,eAEF,QAGJA,CACX,CAMA,SAASD,IAAqB,CAC1B,OAAI,QAAQ,WAAa,QAEd,cAIJ,MACX,CDhEA,GAAI,CACAE,GAAK,CACT,OAASC,EAAK,CACNA,aAAe,OACV,aAAUA,CAAG,CAE1B,CAKO,SAASD,IAAa,CACzB,IAAME,EAAsBC,GAAgB,EACxCD,IAAiB,GAEjBE,GAAmB,EAGnBC,GAAQH,CAAY,CAE5B,CAKA,SAASE,IAA2B,CAChC,IAAME,EAAiBC,GAAgB,EACpC,SAAOD,EAAS,CACf,UAAW,GACX,MAAO,EACX,CAAC,EAED,QAAQ,IAAI,cAAcA,CAAO,iCAAiC,CACtE,CAMA,SAASD,GAAQH,EAA4B,CACzC,IAAMI,EAAiBC,GAAgB,EACjCC,EAA8B,CAAC,EAC/BC,EAAa,cAAYH,CAAO,EACjC,OAAQI,GAEEA,EAAM,SAASR,CAAY,CACrC,EAEL,QAAWQ,KAASD,EAAS,CACzB,IAAME,EAAWD,EAAM,UAAU,EAAGA,EAAM,OAASR,EAAa,MAAM,EAChEU,EAAmB,QAAKN,EAASK,CAAQ,EACzCE,EAAmB,QAAKP,EAASI,CAAK,EAEzC,SAAOE,CAAW,EAClB,aAAWC,EAAaD,CAAW,EACtCJ,EAAkB,KAAKG,CAAQ,CACnC,CACA,QAAQ,IAAI,8BAA8BT,CAAY,mBAAmBM,EAAkB,KAAK,IAAI,CAAC,EAAE,CAC3G", - "names": ["toCommandValue", "input", "exports", "toCommandProperties", "annotationProperties", "os", "__importStar", "utils_1", "issueCommand", "command", "properties", "message", "cmd", "Command", "exports", "issue", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "rng", "poolPtr", "rnds8Pool", "crypto", "import_crypto", "init_rng", "__esmMin", "regex_default", "init_regex", "__esmMin", "validate", "uuid", "regex_default", "validate_default", "init_validate", "__esmMin", "init_regex", "stringify", "arr", "offset", "uuid", "byteToHex", "validate_default", "stringify_default", "init_stringify", "__esmMin", "init_validate", "i", "v1", "options", "buf", "offset", "i", "b", "node", "_nodeId", "clockseq", "_clockseq", "seedBytes", "rng", "msecs", "nsecs", "_lastNSecs", "dt", "_lastMSecs", "tl", "tmh", "n", "stringify_default", "v1_default", "init_v1", "__esmMin", "init_rng", "init_stringify", "parse", "uuid", "validate_default", "v", "arr", "parse_default", "init_parse", "__esmMin", "init_validate", "stringToBytes", "str", "bytes", "i", "v35_default", "name", "version", "hashfunc", "generateUUID", "value", "namespace", "buf", "offset", "parse_default", "stringify_default", "DNS", "URL", "init_v35", "__esmMin", "init_stringify", "init_parse", "md5", "bytes", "crypto", "import_crypto", "md5_default", "init_md5", "__esmMin", "v3", "v3_default", "init_v3", "__esmMin", "init_v35", "init_md5", "v35_default", "md5_default", "v4", "options", "buf", "offset", "rnds", "rng", "stringify_default", "v4_default", "init_v4", "__esmMin", "init_rng", "init_stringify", "sha1", "bytes", "crypto", "import_crypto", "sha1_default", "init_sha1", "__esmMin", "v5", "v5_default", "init_v5", "__esmMin", "init_v35", "init_sha1", "v35_default", "sha1_default", "nil_default", "init_nil", "__esmMin", "version", "uuid", "validate_default", "version_default", "init_version", "__esmMin", "init_validate", "esm_node_exports", "__export", "nil_default", "parse_default", "stringify_default", "v1_default", "v3_default", "v4_default", "v5_default", "validate_default", "version_default", "init_esm_node", "__esmMin", "init_v1", "init_v3", "init_v4", "init_v5", "init_nil", "init_version", "init_validate", "init_stringify", "init_parse", "fs", "__importStar", "os", "uuid_1", "utils_1", "issueFileCommand", "command", "message", "filePath", "exports", "prepareKeyValueMessage", "key", "value", "delimiter", "convertedValue", "getProxyUrl", "reqUrl", "usingSsl", "checkBypass", "proxyVar", "exports", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "http", "__importStar", "https", "pm", "tunnel", "HttpCodes", "exports", "Headers", "MediaTypes", "getProxyUrl", "serverUrl", "proxyUrl", "HttpRedirectCodes", "HttpResponseRetryCodes", "RetryableHttpVerbs", "ExponentialBackoffCeiling", "ExponentialBackoffTimeSlice", "HttpClientError", "_HttpClientError", "message", "statusCode", "HttpClientResponse", "resolve", "__awaiter", "output", "chunk", "isHttps", "requestUrl", "HttpClient", "userAgent", "handlers", "requestOptions", "additionalHeaders", "data", "verb", "stream", "res", "obj", "headers", "parsedUrl", "info", "maxTries", "numTries", "response", "authenticationHandler", "handler", "redirectsRemaining", "redirectUrl", "parsedRedirectUrl", "header", "reject", "callbackForResult", "err", "onResult", "callbackCalled", "handleResult", "req", "msg", "socket", "sock", "method", "usingSsl", "defaultPort", "lowercaseKeys", "_default", "clientHeader", "agent", "useProxy", "maxSockets", "agentOptions", "tunnelAgent", "overHttps", "options", "retryNumber", "ms", "dateTimeDeserializer", "key", "value", "a", "contents", "c", "k", "BasicCredentialHandler", "username", "password", "options", "exports", "BearerCredentialHandler", "token", "PersonalAccessTokenCredentialHandler", "http_client_1", "auth_1", "core_1", "OidcClient", "_OidcClient", "allowRetry", "maxRetry", "requestOptions", "token", "runtimeUrl", "id_token_url", "id_token", "_a", "error", "audience", "encodedAudience", "exports", "os_1", "fs_1", "access", "appendFile", "writeFile", "exports", "Summary", "pathFromEnv", "tag", "content", "attrs", "htmlAttrs", "key", "value", "options", "overwrite", "filePath", "text", "addEOL", "code", "lang", "element", "items", "ordered", "listItems", "item", "rows", "tableBody", "row", "cells", "cell", "header", "data", "colspan", "rowspan", "label", "src", "alt", "width", "height", "level", "allowedTag", "cite", "href", "_summary", "path", "__importStar", "toPosixPath", "pth", "exports", "toWin32Path", "toPlatformPath", "command_1", "file_command_1", "utils_1", "os", "__importStar", "path", "oidc_utils_1", "ExitCode", "exports", "exportVariable", "name", "val", "convertedVal", "setSecret", "secret", "addPath", "inputPath", "getInput", "options", "getMultilineInput", "inputs", "x", "input", "getBooleanInput", "trueValue", "falseValue", "setOutput", "value", "setCommandEcho", "enabled", "setFailed", "message", "error", "isDebug", "debug", "properties", "warning", "notice", "info", "startGroup", "endGroup", "group", "fn", "result", "saveState", "getState", "getIDToken", "aud", "summary_1", "summary_2", "path_utils_1", "post_exports", "__export", "post", "__toCommonJS", "fs", "path", "core", "path", "core", "STATE_BACKUP_SUFFIX", "getBackupSuffix", "STATE_BACKUP_SUFFIX", "getSshDirectory", "getHomeDirectory", "homeEnv", "getHomeEnv", "home", "post", "err", "backupSuffix", "getBackupSuffix", "removeSshDirectory", "restore", "dirName", "getSshDirectory", "restoredFileNames", "entries", "entry", "entryOrg", "pathNameOrg", "pathNameBak"] + "sourcesContent": [null, null, "import crypto from 'crypto';\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\nexport default function rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n crypto.randomFillSync(rnds8Pool);\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}", "export default /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;", "import REGEX from './regex.js';\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && REGEX.test(uuid);\n}\n\nexport default validate;", "import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;", "import rng from './rng.js';\nimport stringify from './stringify.js'; // **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\n\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || rng)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || stringify(b);\n}\n\nexport default v1;", "import validate from './validate.js';\n\nfunction parse(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nexport default parse;", "import stringify from './stringify.js';\nimport parse from './parse.js';\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nexport const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexport const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexport default function (name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = parse(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return stringify(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}", "import crypto from 'crypto';\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('md5').update(bytes).digest();\n}\n\nexport default md5;", "import v35 from './v35.js';\nimport md5 from './md5.js';\nconst v3 = v35('v3', 0x30, md5);\nexport default v3;", "import rng from './rng.js';\nimport stringify from './stringify.js';\n\nfunction v4(options, buf, offset) {\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return stringify(rnds);\n}\n\nexport default v4;", "import crypto from 'crypto';\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return crypto.createHash('sha1').update(bytes).digest();\n}\n\nexport default sha1;", "import v35 from './v35.js';\nimport sha1 from './sha1.js';\nconst v5 = v35('v5', 0x50, sha1);\nexport default v5;", "export default '00000000-0000-0000-0000-000000000000';", "import validate from './validate.js';\n\nfunction version(uuid) {\n if (!validate(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nexport default version;", "export { default as v1 } from './v1.js';\nexport { default as v3 } from './v3.js';\nexport { default as v4 } from './v4.js';\nexport { default as v5 } from './v5.js';\nexport { default as NIL } from './nil.js';\nexport { default as version } from './version.js';\nexport { default as validate } from './validate.js';\nexport { default as stringify } from './stringify.js';\nexport { default as parse } from './parse.js';", null, null, "'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n", "module.exports = require('./lib/tunnel');\n", null, null, null, null, null, null, "import * as fs from \"fs\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\nimport * as common from \"./common\";\n\ntry {\n post();\n} catch (err) {\n if (err instanceof Error) {\n core.setFailed(err);\n }\n}\n\n/**\n * cleanup function\n */\nexport function post(): void {\n const backupSuffix = common.getBackupSuffix();\n if (backupSuffix === \"\") {\n // remove \".ssh\" directory if suffix is not set\n removeSshDirectory();\n } else {\n // restore files from backup suffix\n restore(backupSuffix);\n }\n}\n\n/**\n * remove \".ssh\" directory\n */\nfunction removeSshDirectory(): void {\n const dirName = common.getSshDirectory();\n fs.rmSync(dirName, {\n recursive: true,\n force: true,\n });\n\n console.log(`SSH key in ${dirName} has been removed successfully.`);\n}\n\n/**\n * restore files from backups\n * @param backupSuffix suffix of backup directory\n */\nfunction restore(backupSuffix: string): void {\n const dirName = common.getSshDirectory();\n const restoredFileNames: string[] = [];\n const entries = fs.readdirSync(dirName)\n .filter((entry) => {\n // skip if not a backed-up file\n return entry.endsWith(backupSuffix);\n });\n\n for (const entry of entries) {\n const entryOrg = entry.substring(0, entry.length - backupSuffix.length);\n const pathNameOrg = path.join(dirName, entryOrg);\n const pathNameBak = path.join(dirName, entry);\n\n fs.rmSync(pathNameOrg);\n fs.renameSync(pathNameBak, pathNameOrg);\n restoredFileNames.push(entryOrg);\n }\n console.log(`Following files in suffix \"${backupSuffix}\" are restored; ${restoredFileNames.join(\", \")}`);\n}\n", "import * as fs from \"fs\";\nimport * as os from \"os\";\nimport * as path from \"path\";\n\nimport * as core from \"@actions/core\";\n\n/** state name of backup suffix */\nconst STATE_BACKUP_SUFFIX = \"backup-suffix\";\n\n/**\n * create backup suffix name\n * @param dirName directory to back up\n * @returns backup suffix\n */\nexport function createBackupSuffix(dirName: string): string {\n if (!fs.existsSync(dirName)) {\n // do nothing if directory does not exist\n return \"\";\n }\n\n const backupSuffix = `.bak-${Date.now()}`;\n core.saveState(STATE_BACKUP_SUFFIX, backupSuffix);\n return backupSuffix;\n}\n\n/**\n * get backup suffix name\n * @returns backup suffix (if not, empty string)\n */\nexport function getBackupSuffix(): string {\n return core.getState(STATE_BACKUP_SUFFIX);\n}\n\n/**\n * get SSH directory\n * @returns SSH directory name\n */\nexport function getSshDirectory(): string {\n return path.resolve(getHomeDirectory(), \".ssh\");\n}\n\n/**\n * get home directory\n * @returns home directory name\n */\nfunction getHomeDirectory(): string {\n const homedir = os.homedir();\n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AAW,EACtCJ,EAAkB,KAAKG,CAAQ,CACnC,CACA,QAAQ,IAAI,8BAA8BT,CAAY,mBAAmBM,EAAkB,KAAK,IAAI,CAAC,EAAE,CAC3G", + "names": ["toCommandValue", "input", "exports", "toCommandProperties", "annotationProperties", "os", "__importStar", "utils_1", "issueCommand", "command", "properties", "message", "cmd", "Command", "exports", "issue", "name", "CMD_STRING", "cmdStr", "first", "key", "val", "escapeProperty", "escapeData", "s", "rng", "poolPtr", "rnds8Pool", "crypto", "import_crypto", "init_rng", "__esmMin", "regex_default", "init_regex", "__esmMin", "validate", "uuid", "regex_default", "validate_default", "init_validate", "__esmMin", "init_regex", "stringify", "arr", "offset", "uuid", "byteToHex", "validate_default", "stringify_default", "init_stringify", "__esmMin", "init_validate", "i", "v1", "options", "buf", "offset", "i", "b", "node", "_nodeId", "clockseq", "_clockseq", "seedBytes", "rng", "msecs", "nsecs", "_lastNSecs", "dt", "_lastMSecs", "tl", "tmh", "n", "stringify_default", "v1_default", "init_v1", "__esmMin", "init_rng", "init_stringify", "parse", "uuid", "validate_default", "v", "arr", "parse_default", "init_parse", "__esmMin", "init_validate", "stringToBytes", "str", "bytes", "i", "v35_default", "name", "version", "hashfunc", "generateUUID", "value", "namespace", "buf", "offset", "parse_default", "stringify_default", "DNS", "URL", "init_v35", "__esmMin", "init_stringify", "init_parse", "md5", "bytes", "crypto", "import_crypto", "md5_default", "init_md5", "__esmMin", "v3", "v3_default", "init_v3", "__esmMin", "init_v35", "init_md5", "v35_default", "md5_default", "v4", "options", "buf", "offset", "rnds", "rng", "stringify_default", "v4_default", "init_v4", "__esmMin", "init_rng", "init_stringify", "sha1", "bytes", "crypto", "import_crypto", "sha1_default", "init_sha1", "__esmMin", "v5", "v5_default", "init_v5", "__esmMin", "init_v35", "init_sha1", "v35_default", "sha1_default", "nil_default", "init_nil", "__esmMin", "version", "uuid", "validate_default", "version_default", "init_version", "__esmMin", "init_validate", "esm_node_exports", "__export", "nil_default", "parse_default", "stringify_default", "v1_default", "v3_default", "v4_default", "v5_default", "validate_default", "version_default", "init_esm_node", "__esmMin", "init_v1", "init_v3", "init_v4", "init_v5", "init_nil", "init_version", "init_validate", "init_stringify", "init_parse", "fs", "__importStar", "os", "uuid_1", "utils_1", "issueFileCommand", "command", "message", "filePath", "exports", "prepareKeyValueMessage", "key", "value", "delimiter", "convertedValue", "getProxyUrl", "reqUrl", "usingSsl", "checkBypass", "proxyVar", "exports", "reqHost", "isLoopbackAddress", "noProxy", "reqPort", "upperReqHosts", "upperNoProxyItem", "x", "host", "hostLower", "require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "http", "__importStar", "https", "pm", "tunnel", "HttpCodes", "exports", "Headers", "MediaTypes", "getProxyUrl", "serverUrl", "proxyUrl", "HttpRedirectCodes", "HttpResponseRetryCodes", "RetryableHttpVerbs", "ExponentialBackoffCeiling", "ExponentialBackoffTimeSlice", "HttpClientError", "_HttpClientError", "message", "statusCode", "HttpClientResponse", "resolve", "__awaiter", "output", "chunk", "isHttps", "requestUrl", "HttpClient", "userAgent", "handlers", "requestOptions", "additionalHeaders", "data", "verb", "stream", "res", "obj", "headers", "parsedUrl", "info", "maxTries", "numTries", "response", "authenticationHandler", "handler", "redirectsRemaining", "redirectUrl", "parsedRedirectUrl", "header", "reject", "callbackForResult", "err", "onResult", "callbackCalled", "handleResult", "req", "msg", "socket", "sock", "method", "usingSsl", "defaultPort", "lowercaseKeys", "_default", "clientHeader", "agent", "useProxy", "maxSockets", "agentOptions", "tunnelAgent", "overHttps", "options", "retryNumber", "ms", "dateTimeDeserializer", "key", "value", "a", "contents", "c", "k", "BasicCredentialHandler", "username", "password", "options", "exports", "BearerCredentialHandler", "token", "PersonalAccessTokenCredentialHandler", "http_client_1", "auth_1", "core_1", "OidcClient", "_OidcClient", "allowRetry", "maxRetry", "requestOptions", "token", "runtimeUrl", "id_token_url", "id_token", "_a", "error", "audience", "encodedAudience", "exports", "os_1", "fs_1", "access", "appendFile", "writeFile", "exports", "Summary", "pathFromEnv", "tag", "content", "attrs", "htmlAttrs", "key", "value", "options", "overwrite", "filePath", "text", "addEOL", "code", "lang", "element", "items", "ordered", "listItems", "item", "rows", "tableBody", "row", "cells", "cell", "header", "data", "colspan", "rowspan", "label", "src", "alt", "width", "height", "level", "allowedTag", "cite", "href", "_summary", "path", "__importStar", "toPosixPath", "pth", "exports", "toWin32Path", "toPlatformPath", "command_1", "file_command_1", "utils_1", "os", "__importStar", "path", "oidc_utils_1", "ExitCode", "exports", "exportVariable", "name", "val", "convertedVal", "setSecret", "secret", "addPath", "inputPath", "getInput", "options", "getMultilineInput", "inputs", "x", "input", "getBooleanInput", "trueValue", "falseValue", "setOutput", "value", "setCommandEcho", "enabled", "setFailed", "message", "error", "isDebug", "debug", "properties", "warning", "notice", "info", "startGroup", "endGroup", "group", "fn", "result", "saveState", "getState", "getIDToken", "aud", "summary_1", "summary_2", "path_utils_1", "post_exports", "__export", "post", "__toCommonJS", "fs", "path", "core", "os", "path", "core", "STATE_BACKUP_SUFFIX", "getBackupSuffix", "STATE_BACKUP_SUFFIX", "getSshDirectory", "getHomeDirectory", "homedir", "post", "err", "backupSuffix", "getBackupSuffix", "removeSshDirectory", "restore", "dirName", "getSshDirectory", "restoredFileNames", "entries", "entry", "entryOrg", "pathNameOrg", "pathNameBak"] } diff --git a/src/common.ts b/src/common.ts index fed4432..caa1663 100644 --- a/src/common.ts +++ b/src/common.ts @@ -1,4 +1,5 @@ import * as fs from "fs"; +import * as os from "os"; import * as path from "path"; import * as core from "@actions/core"; @@ -43,30 +44,11 @@ export function getSshDirectory(): string { * @returns home directory name */ function getHomeDirectory(): string { - const homeEnv = getHomeEnv(); - const home = process.env[homeEnv]; - if (home === undefined) { - throw Error(`${homeEnv} is not defined`); - } - - if (home === "/github/home") { + const homedir = os.homedir(); + if (homedir === "/github/home") { // Docker container return "/root"; } - return home; -} - -/** - * get HOME environment name - * @returns HOME environment name - */ -function getHomeEnv(): string { - if (process.platform === "win32") { - // Windows - return "USERPROFILE"; - } - - // macOS / Linux - return "HOME"; + return homedir; }