diff --git a/supported-version/dist/index.js b/supported-version/dist/index.js index 2ae3ae9..0c9a89d 100644 --- a/supported-version/dist/index.js +++ b/supported-version/dist/index.js @@ -1,8 +1,8 @@ -var rr=Object.create;var H=Object.defineProperty;var nr=Object.getOwnPropertyDescriptor;var ir=Object.getOwnPropertyNames;var or=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ue=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},De=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ir(t))!sr.call(e,i)&&i!==r&&H(e,i,{get:()=>t[i],enumerable:!(n=nr(t,i))||n.enumerable});return e};var Y=(e,t,r)=>(r=e!=null?rr(or(e)):{},De(t||!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e)),Ne=e=>De(H({},"__esModule",{value:!0}),e);var Q=y(k=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.toCommandProperties=k.toCommandValue=void 0;function ar(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}k.toCommandValue=ar;function cr(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=cr});var Ve=y(_=>{"use strict";var ur=_&&_.__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=_&&_.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),mr=_&&_.__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)&&ur(t,e,r);return lr(t,e),t};Object.defineProperty(_,"__esModule",{value:!0});_.issue=_.issueCommand=void 0;var dr=mr(require("os")),Ce=Q();function Ie(e,t,r){let n=new ae(e,t,r);process.stdout.write(n.toString()+dr.EOL)}_.issueCommand=Ie;function pr(e,t=""){Ie(e,{},t)}_.issue=pr;var ke="::",ae=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=ke+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}=${fr(i)}`)}}return t+=`${ke}${hr(this.message)}`,t}};function hr(e){return Ce.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function fr(e){return Ce.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function G(){return X>Z.length-16&&(Be.default.randomFillSync(Z),X=0),Z.slice(X,X+=16)}var Be,Z,X,ce=v(()=>{Be=Y(require("crypto")),Z=new Uint8Array(256),X=Z.length});var $e,Le=v(()=>{$e=/^(?:[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 gr(e){return typeof e=="string"&&$e.test(e)}var R,J=v(()=>{Le();R=gr});function yr(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(!R(r))throw TypeError("Stringified UUID is invalid");return r}var g,P,W=v(()=>{J();g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));P=yr});function vr(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let o=e.node||Fe,s=e.clockseq!==void 0?e.clockseq:ue;if(o==null||s==null){let p=e.random||(e.rng||G)();o==null&&(o=Fe=[p[0]|1,p[1],p[2],p[3],p[4],p[5]]),s==null&&(s=ue=(p[6]<<8|p[7])&16383)}let u=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:me+1,a=u-le+(l-me)/1e4;if(a<0&&e.clockseq===void 0&&(s=s+1&16383),(a<0||u>le)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");le=u,me=l,ue=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 p=0;p<6;++p)i[n+p]=o[p];return t||P(i)}var Fe,ue,le,me,Ke,Ge=v(()=>{ce();W();le=0,me=0;Ke=vr});function br(e){if(!R(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 ee,de=v(()=>{J();ee=br});function qr(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{W();de();xr="6ba7b810-9dad-11d1-80b4-00c04fd430c8",_r="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function wr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Je.default.createHash("md5").update(e).digest()}var Je,We,ze=v(()=>{Je=Y(require("crypto"));We=wr});var Tr,He,Ye=v(()=>{pe();ze();Tr=te("v3",48,We),He=Tr});function Or(e,t,r){e=e||{};let n=e.random||(e.rng||G)();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 P(n)}var Qe,Xe=v(()=>{ce();W();Qe=Or});function jr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ze.default.createHash("sha1").update(e).digest()}var Ze,et,tt=v(()=>{Ze=Y(require("crypto"));et=jr});var Er,rt,nt=v(()=>{pe();tt();Er=te("v5",80,et),rt=Er});var it,ot=v(()=>{it="00000000-0000-0000-0000-000000000000"});function Rr(e){if(!R(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var st,at=v(()=>{J();st=Rr});var ct={};Ue(ct,{NIL:()=>it,parse:()=>ee,stringify:()=>P,v1:()=>Ke,v3:()=>He,v4:()=>Qe,v5:()=>rt,validate:()=>R,version:()=>st});var ut=v(()=>{Ge();Ye();Xe();nt();ot();at();J();W();de()});var pt=y(w=>{"use strict";var Pr=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]}),Sr=w&&w.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),mt=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)&&Pr(t,e,r);return Sr(t,e),t};Object.defineProperty(w,"__esModule",{value:!0});w.prepareKeyValueMessage=w.issueFileCommand=void 0;var lt=mt(require("fs")),he=mt(require("os")),Ar=(ut(),Ne(ct)),dt=Q();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(!lt.existsSync(r))throw new Error(`Missing file at path: ${r}`);lt.appendFileSync(r,`${dt.toCommandValue(t)}${he.EOL}`,{encoding:"utf8"})}w.issueFileCommand=Mr;function Ur(e,t){let r=`ghadelimiter_${Ar.v4()}`,n=dt.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}${he.EOL}${n}${he.EOL}${r}`}w.prepareKeyValueMessage=Ur});var ft=y(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});C.checkBypass=C.getProxyUrl=void 0;function Dr(e){let t=e.protocol==="https:";if(ht(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)}C.getProxyUrl=Dr;function ht(e){if(!e.hostname)return!1;let t=e.hostname;if(Nr(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}C.checkBypass=ht;function Nr(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 bt=y(I=>{"use strict";var Mi=require("net"),kr=require("tls"),fe=require("http"),gt=require("https"),Cr=require("events"),Ui=require("assert"),Ir=require("util");I.httpOverHttp=Vr;I.httpsOverHttp=Br;I.httpOverHttps=$r;I.httpsOverHttps=Lr;function Vr(e){var t=new E(e);return t.request=fe.request,t}function Br(e){var t=new E(e);return t.request=fe.request,t.createSocket=yt,t.defaultPort=443,t}function $r(e){var t=new E(e);return t.request=gt.request,t}function Lr(e){var t=new E(e);return t.request=gt.request,t.createSocket=yt,t.defaultPort=443,t}function E(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||fe.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,o,s){for(var u=vt(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)}})};E.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var o=ge({},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")),S("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,p,N){process.nextTick(function(){a(d,p,N)})}function a(d,p,N){if(s.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){S("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var K=new Error("tunneling socket could not be established, statusCode="+d.statusCode);K.code="ECONNRESET",t.request.emit("error",K),n.removeSocket(i);return}if(N.length>0){S("got illegal response body from proxy"),p.destroy();var K=new Error("got illegal response body from proxy");K.code="ECONNRESET",t.request.emit("error",K),n.removeSocket(i);return}return S("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=p,r(p)}function c(d){s.removeAllListeners(),S(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",t.request.emit("error",p),n.removeSocket(i)}};E.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 yt(e,t){var r=this;E.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=ge({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=kr.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s)})}function vt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function ge(e){for(var t=1,r=arguments.length;t{qt.exports=bt()});var wt=y(h=>{"use strict";var Fr=h&&h.__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=h&&h.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),se=h&&h.__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 Kr(t,e),t},f=h&&h.__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(h,"__esModule",{value:!0});h.HttpClient=h.isHttps=h.HttpClientResponse=h.HttpClientError=h.getProxyUrl=h.MediaTypes=h.Headers=h.HttpCodes=void 0;var re=se(require("http")),ye=se(require("https")),_t=se(ft()),ne=se(xt()),O;(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"})(O=h.HttpCodes||(h.HttpCodes={}));var b;(function(e){e.Accept="accept",e.ContentType="content-type"})(b=h.Headers||(h.Headers={}));var A;(function(e){e.ApplicationJson="application/json"})(A=h.MediaTypes||(h.MediaTypes={}));function Gr(e){let t=_t.getProxyUrl(new URL(e));return t?t.href:""}h.getProxyUrl=Gr;var Jr=[O.MovedPermanently,O.ResourceMoved,O.SeeOther,O.TemporaryRedirect,O.PermanentRedirect],Wr=[O.BadGateway,O.ServiceUnavailable,O.GatewayTimeout],zr=["OPTIONS","GET","DELETE","HEAD"],Hr=10,Yr=5,V=class extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,V.prototype)}};h.HttpClientError=V;var oe=class{constructor(t){this.message=t}readBody(){return f(this,void 0,void 0,function*(){return new Promise(t=>f(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())})}))})}};h.HttpClientResponse=oe;function Qr(e){return new URL(e).protocol==="https:"}h.isHttps=Qr;var ve=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 f(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return f(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return f(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return f(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return f(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return f(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return f(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return f(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return f(this,void 0,void 0,function*(){r[b.Accept]=this._getExistingOrDefaultHeader(r,b.Accept,A.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return f(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[b.Accept]=this._getExistingOrDefaultHeader(n,b.Accept,A.ApplicationJson),n[b.ContentType]=this._getExistingOrDefaultHeader(n,b.ContentType,A.ApplicationJson);let o=yield this.post(t,i,n);return this._processResponse(o,this.requestOptions)})}putJson(t,r,n={}){return f(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[b.Accept]=this._getExistingOrDefaultHeader(n,b.Accept,A.ApplicationJson),n[b.ContentType]=this._getExistingOrDefaultHeader(n,b.ContentType,A.ApplicationJson);let o=yield this.put(t,i,n);return this._processResponse(o,this.requestOptions)})}patchJson(t,r,n={}){return f(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[b.Accept]=this._getExistingOrDefaultHeader(n,b.Accept,A.ApplicationJson),n[b.ContentType]=this._getExistingOrDefaultHeader(n,b.ContentType,A.ApplicationJson);let o=yield this.patch(t,i,n);return this._processResponse(o,this.requestOptions)})}request(t,r,n,i){return f(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&&zr.includes(t)?this._maxRetries+1:1,l=0,a;do{if(a=yield this.requestRaw(s,n),a&&a.message&&a.message.statusCode===O.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(a)){d=p;break}return d?d.handleAuthentication(this,s,n):a}let c=this._maxRedirects;for(;a.message.statusCode&&Jr.includes(a.message.statusCode)&&this._allowRedirects&&c>0;){let d=a.message.headers.location;if(!d)break;let p=new URL(d);if(o.protocol==="https:"&&o.protocol!==p.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(),p.hostname!==o.hostname)for(let N in i)N.toLowerCase()==="authorization"&&delete i[N];s=this._prepareRequest(t,p,i),a=yield this.requestRaw(s,n),c--}if(!a.message.statusCode||!Wr.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 oe(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?ye:re;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({},ie(this.requestOptions.headers),ie(t||{})):ie(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=ie(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=_t.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||re.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?ne.httpsOverHttps:ne.httpsOverHttp:l=a?ne.httpOverHttps:ne.httpOverHttp,r=l(u),this._proxyAgent=r}if(this._keepAlive&&!r){let u={keepAlive:this._keepAlive,maxSockets:s};r=o?new ye.Agent(u):new re.Agent(u),this._agent=r}return r||(r=o?ye.globalAgent:re.globalAgent),o&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return f(this,void 0,void 0,function*(){t=Math.min(Hr,t);let r=Yr*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return f(this,void 0,void 0,function*(){return new Promise((n,i)=>f(this,void 0,void 0,function*(){let o=t.message.statusCode||0,s={statusCode:o,result:null,headers:{}};o===O.NotFound&&n(s);function u(c,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}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 V(c,o);d.result=s.result,i(d)}else n(s)}))})}};h.HttpClient=ve;var ie=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var Tt=y(j=>{"use strict";var _e=j&&j.__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(j,"__esModule",{value:!0});j.PersonalAccessTokenCredentialHandler=j.BearerCredentialHandler=j.BasicCredentialHandler=void 0;var be=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 _e(this,void 0,void 0,function*(){throw new Error("not implemented")})}};j.BasicCredentialHandler=be;var qe=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 _e(this,void 0,void 0,function*(){throw new Error("not implemented")})}};j.BearerCredentialHandler=qe;var xe=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 _e(this,void 0,void 0,function*(){throw new Error("not implemented")})}};j.PersonalAccessTokenCredentialHandler=xe});var Et=y(B=>{"use strict";var Ot=B&&B.__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(B,"__esModule",{value:!0});B.OidcClient=void 0;var Xr=wt(),Zr=Tt(),jt=we(),M=class{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new Xr.HttpClient("actions/oidc-client",[new Zr.BearerCredentialHandler(M.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 Ot(this,void 0,void 0,function*(){let o=(r=(yield M.createHttpClient().getJson(t).catch(s=>{throw new Error(`Failed to get ID Token. +var rr=Object.create;var H=Object.defineProperty;var nr=Object.getOwnPropertyDescriptor;var ir=Object.getOwnPropertyNames;var or=Object.getPrototypeOf,sr=Object.prototype.hasOwnProperty;var v=(e,t)=>()=>(e&&(t=e(e=0)),t);var y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ue=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},De=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ir(t))!sr.call(e,i)&&i!==r&&H(e,i,{get:()=>t[i],enumerable:!(n=nr(t,i))||n.enumerable});return e};var Y=(e,t,r)=>(r=e!=null?rr(or(e)):{},De(t||!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e)),Ne=e=>De(H({},"__esModule",{value:!0}),e);var Q=y(k=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.toCommandProperties=k.toCommandValue=void 0;function ar(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}k.toCommandValue=ar;function cr(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=cr});var Ve=y(_=>{"use strict";var ur=_&&_.__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=_&&_.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),mr=_&&_.__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)&&ur(t,e,r);return lr(t,e),t};Object.defineProperty(_,"__esModule",{value:!0});_.issue=_.issueCommand=void 0;var dr=mr(require("os")),Ce=Q();function Ie(e,t,r){let n=new ae(e,t,r);process.stdout.write(n.toString()+dr.EOL)}_.issueCommand=Ie;function pr(e,t=""){Ie(e,{},t)}_.issue=pr;var ke="::",ae=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=ke+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}=${fr(i)}`)}}return t+=`${ke}${hr(this.message)}`,t}};function hr(e){return Ce.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function fr(e){return Ce.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});function G(){return X>Z.length-16&&(Be.default.randomFillSync(Z),X=0),Z.slice(X,X+=16)}var Be,Z,X,ce=v(()=>{Be=Y(require("crypto")),Z=new Uint8Array(256),X=Z.length});var $e,Le=v(()=>{$e=/^(?:[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 gr(e){return typeof e=="string"&&$e.test(e)}var R,J=v(()=>{Le();R=gr});function yr(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(!R(r))throw TypeError("Stringified UUID is invalid");return r}var g,P,W=v(()=>{J();g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));P=yr});function vr(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let o=e.node||Fe,s=e.clockseq!==void 0?e.clockseq:ue;if(o==null||s==null){let p=e.random||(e.rng||G)();o==null&&(o=Fe=[p[0]|1,p[1],p[2],p[3],p[4],p[5]]),s==null&&(s=ue=(p[6]<<8|p[7])&16383)}let u=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:me+1,a=u-le+(l-me)/1e4;if(a<0&&e.clockseq===void 0&&(s=s+1&16383),(a<0||u>le)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");le=u,me=l,ue=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 p=0;p<6;++p)i[n+p]=o[p];return t||P(i)}var Fe,ue,le,me,Ke,Ge=v(()=>{ce();W();le=0,me=0;Ke=vr});function br(e){if(!R(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 ee,de=v(()=>{J();ee=br});function qr(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{W();de();xr="6ba7b810-9dad-11d1-80b4-00c04fd430c8",_r="6ba7b811-9dad-11d1-80b4-00c04fd430c8"});function wr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Je.default.createHash("md5").update(e).digest()}var Je,We,ze=v(()=>{Je=Y(require("crypto"));We=wr});var Tr,He,Ye=v(()=>{pe();ze();Tr=te("v3",48,We),He=Tr});function jr(e,t,r){e=e||{};let n=e.random||(e.rng||G)();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 P(n)}var Qe,Xe=v(()=>{ce();W();Qe=jr});function Or(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ze.default.createHash("sha1").update(e).digest()}var Ze,et,tt=v(()=>{Ze=Y(require("crypto"));et=Or});var Er,rt,nt=v(()=>{pe();tt();Er=te("v5",80,et),rt=Er});var it,ot=v(()=>{it="00000000-0000-0000-0000-000000000000"});function Rr(e){if(!R(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var st,at=v(()=>{J();st=Rr});var ct={};Ue(ct,{NIL:()=>it,parse:()=>ee,stringify:()=>P,v1:()=>Ke,v3:()=>He,v4:()=>Qe,v5:()=>rt,validate:()=>R,version:()=>st});var ut=v(()=>{Ge();Ye();Xe();nt();ot();at();J();W();de()});var pt=y(w=>{"use strict";var Pr=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]}),Sr=w&&w.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),mt=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)&&Pr(t,e,r);return Sr(t,e),t};Object.defineProperty(w,"__esModule",{value:!0});w.prepareKeyValueMessage=w.issueFileCommand=void 0;var lt=mt(require("fs")),he=mt(require("os")),Ar=(ut(),Ne(ct)),dt=Q();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(!lt.existsSync(r))throw new Error(`Missing file at path: ${r}`);lt.appendFileSync(r,`${dt.toCommandValue(t)}${he.EOL}`,{encoding:"utf8"})}w.issueFileCommand=Mr;function Ur(e,t){let r=`ghadelimiter_${Ar.v4()}`,n=dt.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}${he.EOL}${n}${he.EOL}${r}`}w.prepareKeyValueMessage=Ur});var ft=y(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});C.checkBypass=C.getProxyUrl=void 0;function Dr(e){let t=e.protocol==="https:";if(ht(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)}C.getProxyUrl=Dr;function ht(e){if(!e.hostname)return!1;let t=e.hostname;if(Nr(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}C.checkBypass=ht;function Nr(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 bt=y(I=>{"use strict";var Mi=require("net"),kr=require("tls"),fe=require("http"),gt=require("https"),Cr=require("events"),Ui=require("assert"),Ir=require("util");I.httpOverHttp=Vr;I.httpsOverHttp=Br;I.httpOverHttps=$r;I.httpsOverHttps=Lr;function Vr(e){var t=new E(e);return t.request=fe.request,t}function Br(e){var t=new E(e);return t.request=fe.request,t.createSocket=yt,t.defaultPort=443,t}function $r(e){var t=new E(e);return t.request=gt.request,t}function Lr(e){var t=new E(e);return t.request=gt.request,t.createSocket=yt,t.defaultPort=443,t}function E(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||fe.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,o,s){for(var u=vt(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)}})};E.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var o=ge({},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")),S("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,p,N){process.nextTick(function(){a(d,p,N)})}function a(d,p,N){if(s.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){S("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var K=new Error("tunneling socket could not be established, statusCode="+d.statusCode);K.code="ECONNRESET",t.request.emit("error",K),n.removeSocket(i);return}if(N.length>0){S("got illegal response body from proxy"),p.destroy();var K=new Error("got illegal response body from proxy");K.code="ECONNRESET",t.request.emit("error",K),n.removeSocket(i);return}return S("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=p,r(p)}function c(d){s.removeAllListeners(),S(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",t.request.emit("error",p),n.removeSocket(i)}};E.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 yt(e,t){var r=this;E.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),o=ge({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),s=kr.connect(0,o);r.sockets[r.sockets.indexOf(n)]=s,t(s)})}function vt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function ge(e){for(var t=1,r=arguments.length;t{qt.exports=bt()});var wt=y(h=>{"use strict";var Fr=h&&h.__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=h&&h.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),se=h&&h.__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 Kr(t,e),t},f=h&&h.__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(h,"__esModule",{value:!0});h.HttpClient=h.isHttps=h.HttpClientResponse=h.HttpClientError=h.getProxyUrl=h.MediaTypes=h.Headers=h.HttpCodes=void 0;var re=se(require("http")),ye=se(require("https")),_t=se(ft()),ne=se(xt()),j;(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"})(j=h.HttpCodes||(h.HttpCodes={}));var b;(function(e){e.Accept="accept",e.ContentType="content-type"})(b=h.Headers||(h.Headers={}));var A;(function(e){e.ApplicationJson="application/json"})(A=h.MediaTypes||(h.MediaTypes={}));function Gr(e){let t=_t.getProxyUrl(new URL(e));return t?t.href:""}h.getProxyUrl=Gr;var Jr=[j.MovedPermanently,j.ResourceMoved,j.SeeOther,j.TemporaryRedirect,j.PermanentRedirect],Wr=[j.BadGateway,j.ServiceUnavailable,j.GatewayTimeout],zr=["OPTIONS","GET","DELETE","HEAD"],Hr=10,Yr=5,V=class extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,V.prototype)}};h.HttpClientError=V;var oe=class{constructor(t){this.message=t}readBody(){return f(this,void 0,void 0,function*(){return new Promise(t=>f(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())})}))})}};h.HttpClientResponse=oe;function Qr(e){return new URL(e).protocol==="https:"}h.isHttps=Qr;var ve=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 f(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return f(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return f(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return f(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return f(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return f(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return f(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return f(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return f(this,void 0,void 0,function*(){r[b.Accept]=this._getExistingOrDefaultHeader(r,b.Accept,A.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return f(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[b.Accept]=this._getExistingOrDefaultHeader(n,b.Accept,A.ApplicationJson),n[b.ContentType]=this._getExistingOrDefaultHeader(n,b.ContentType,A.ApplicationJson);let o=yield this.post(t,i,n);return this._processResponse(o,this.requestOptions)})}putJson(t,r,n={}){return f(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[b.Accept]=this._getExistingOrDefaultHeader(n,b.Accept,A.ApplicationJson),n[b.ContentType]=this._getExistingOrDefaultHeader(n,b.ContentType,A.ApplicationJson);let o=yield this.put(t,i,n);return this._processResponse(o,this.requestOptions)})}patchJson(t,r,n={}){return f(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[b.Accept]=this._getExistingOrDefaultHeader(n,b.Accept,A.ApplicationJson),n[b.ContentType]=this._getExistingOrDefaultHeader(n,b.ContentType,A.ApplicationJson);let o=yield this.patch(t,i,n);return this._processResponse(o,this.requestOptions)})}request(t,r,n,i){return f(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&&zr.includes(t)?this._maxRetries+1:1,l=0,a;do{if(a=yield this.requestRaw(s,n),a&&a.message&&a.message.statusCode===j.Unauthorized){let d;for(let p of this.handlers)if(p.canHandleAuthentication(a)){d=p;break}return d?d.handleAuthentication(this,s,n):a}let c=this._maxRedirects;for(;a.message.statusCode&&Jr.includes(a.message.statusCode)&&this._allowRedirects&&c>0;){let d=a.message.headers.location;if(!d)break;let p=new URL(d);if(o.protocol==="https:"&&o.protocol!==p.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(),p.hostname!==o.hostname)for(let N in i)N.toLowerCase()==="authorization"&&delete i[N];s=this._prepareRequest(t,p,i),a=yield this.requestRaw(s,n),c--}if(!a.message.statusCode||!Wr.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 oe(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?ye:re;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({},ie(this.requestOptions.headers),ie(t||{})):ie(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=ie(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=_t.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||re.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?ne.httpsOverHttps:ne.httpsOverHttp:l=a?ne.httpOverHttps:ne.httpOverHttp,r=l(u),this._proxyAgent=r}if(this._keepAlive&&!r){let u={keepAlive:this._keepAlive,maxSockets:s};r=o?new ye.Agent(u):new re.Agent(u),this._agent=r}return r||(r=o?ye.globalAgent:re.globalAgent),o&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return f(this,void 0,void 0,function*(){t=Math.min(Hr,t);let r=Yr*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return f(this,void 0,void 0,function*(){return new Promise((n,i)=>f(this,void 0,void 0,function*(){let o=t.message.statusCode||0,s={statusCode:o,result:null,headers:{}};o===j.NotFound&&n(s);function u(c,d){if(typeof d=="string"){let p=new Date(d);if(!isNaN(p.valueOf()))return p}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 V(c,o);d.result=s.result,i(d)}else n(s)}))})}};h.HttpClient=ve;var ie=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var Tt=y(O=>{"use strict";var _e=O&&O.__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(O,"__esModule",{value:!0});O.PersonalAccessTokenCredentialHandler=O.BearerCredentialHandler=O.BasicCredentialHandler=void 0;var be=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 _e(this,void 0,void 0,function*(){throw new Error("not implemented")})}};O.BasicCredentialHandler=be;var qe=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 _e(this,void 0,void 0,function*(){throw new Error("not implemented")})}};O.BearerCredentialHandler=qe;var xe=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 _e(this,void 0,void 0,function*(){throw new Error("not implemented")})}};O.PersonalAccessTokenCredentialHandler=xe});var Et=y(B=>{"use strict";var jt=B&&B.__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(B,"__esModule",{value:!0});B.OidcClient=void 0;var Xr=wt(),Zr=Tt(),Ot=we(),M=class{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new Xr.HttpClient("actions/oidc-client",[new Zr.BearerCredentialHandler(M.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 jt(this,void 0,void 0,function*(){let o=(r=(yield M.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 Ot(this,void 0,void 0,function*(){try{let r=M.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}jt.debug(`ID token url is ${r}`);let n=yield M.getCall(r);return jt.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};B.OidcClient=M});var Ee=y(q=>{"use strict";var Te=q&&q.__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(q,"__esModule",{value:!0});q.summary=q.markdownSummary=q.SUMMARY_DOCS_URL=q.SUMMARY_ENV_VAR=void 0;var en=require("os"),Oe=require("fs"),{access:tn,appendFile:rn,writeFile:nn}=Oe.promises;q.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";q.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var je=class{constructor(){this._buffer=""}filePath(){return Te(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[q.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${q.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield tn(t,Oe.constants.R_OK|Oe.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 Te(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?nn:rn)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Te(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(en.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",p=Object.assign(Object.assign({},a&&{colspan:a}),c&&{rowspan:c});return this.wrap(d,l,p)}).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 je;q.markdownSummary=Rt;q.summary=Rt});var Pt=y(x=>{"use strict";var on=x&&x.__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]}),sn=x&&x.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),an=x&&x.__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)&&on(t,e,r);return sn(t,e),t};Object.defineProperty(x,"__esModule",{value:!0});x.toPlatformPath=x.toWin32Path=x.toPosixPath=void 0;var cn=an(require("path"));function un(e){return e.replace(/[\\]/g,"/")}x.toPosixPath=un;function ln(e){return e.replace(/[/]/g,"\\")}x.toWin32Path=ln;function mn(e){return e.replace(/[/\\]/g,cn.sep)}x.toPlatformPath=mn});var we=y(m=>{"use strict";var dn=m&&m.__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]}),pn=m&&m.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),St=m&&m.__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)&&dn(t,e,r);return pn(t,e),t},At=m&&m.__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(m,"__esModule",{value:!0});m.getIDToken=m.getState=m.saveState=m.group=m.endGroup=m.startGroup=m.info=m.notice=m.warning=m.error=m.debug=m.isDebug=m.setFailed=m.setCommandEcho=m.setOutput=m.getBooleanInput=m.getMultilineInput=m.getInput=m.addPath=m.setSecret=m.exportVariable=m.ExitCode=void 0;var T=Ve(),D=pt(),$=Q(),Mt=St(require("os")),hn=St(require("path")),fn=Et(),Ut;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(Ut=m.ExitCode||(m.ExitCode={}));function gn(e,t){let r=$.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return D.issueFileCommand("ENV",D.prepareKeyValueMessage(e,t));T.issueCommand("set-env",{name:e},r)}m.exportVariable=gn;function yn(e){T.issueCommand("add-mask",{},e)}m.setSecret=yn;function vn(e){process.env.GITHUB_PATH||""?D.issueFileCommand("PATH",e):T.issueCommand("add-path",{},e),process.env.PATH=`${e}${hn.delimiter}${process.env.PATH}`}m.addPath=vn;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()}m.getInput=Re;function bn(e,t){let r=Re(e,t).split(` + 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 jt(this,void 0,void 0,function*(){try{let r=M.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}Ot.debug(`ID token url is ${r}`);let n=yield M.getCall(r);return Ot.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};B.OidcClient=M});var Ee=y(q=>{"use strict";var Te=q&&q.__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(q,"__esModule",{value:!0});q.summary=q.markdownSummary=q.SUMMARY_DOCS_URL=q.SUMMARY_ENV_VAR=void 0;var en=require("os"),je=require("fs"),{access:tn,appendFile:rn,writeFile:nn}=je.promises;q.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";q.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Oe=class{constructor(){this._buffer=""}filePath(){return Te(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[q.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${q.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield tn(t,je.constants.R_OK|je.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 Te(this,void 0,void 0,function*(){let r=!!t?.overwrite,n=yield this.filePath();return yield(r?nn:rn)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Te(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(en.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",p=Object.assign(Object.assign({},a&&{colspan:a}),c&&{rowspan:c});return this.wrap(d,l,p)}).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 Oe;q.markdownSummary=Rt;q.summary=Rt});var Pt=y(x=>{"use strict";var on=x&&x.__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]}),sn=x&&x.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),an=x&&x.__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)&&on(t,e,r);return sn(t,e),t};Object.defineProperty(x,"__esModule",{value:!0});x.toPlatformPath=x.toWin32Path=x.toPosixPath=void 0;var cn=an(require("path"));function un(e){return e.replace(/[\\]/g,"/")}x.toPosixPath=un;function ln(e){return e.replace(/[/]/g,"\\")}x.toWin32Path=ln;function mn(e){return e.replace(/[/\\]/g,cn.sep)}x.toPlatformPath=mn});var we=y(m=>{"use strict";var dn=m&&m.__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]}),pn=m&&m.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),St=m&&m.__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)&&dn(t,e,r);return pn(t,e),t},At=m&&m.__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(m,"__esModule",{value:!0});m.getIDToken=m.getState=m.saveState=m.group=m.endGroup=m.startGroup=m.info=m.notice=m.warning=m.error=m.debug=m.isDebug=m.setFailed=m.setCommandEcho=m.setOutput=m.getBooleanInput=m.getMultilineInput=m.getInput=m.addPath=m.setSecret=m.exportVariable=m.ExitCode=void 0;var T=Ve(),D=pt(),$=Q(),Mt=St(require("os")),hn=St(require("path")),fn=Et(),Ut;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(Ut=m.ExitCode||(m.ExitCode={}));function gn(e,t){let r=$.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return D.issueFileCommand("ENV",D.prepareKeyValueMessage(e,t));T.issueCommand("set-env",{name:e},r)}m.exportVariable=gn;function yn(e){T.issueCommand("add-mask",{},e)}m.setSecret=yn;function vn(e){process.env.GITHUB_PATH||""?D.issueFileCommand("PATH",e):T.issueCommand("add-path",{},e),process.env.PATH=`${e}${hn.delimiter}${process.env.PATH}`}m.addPath=vn;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()}m.getInput=Re;function bn(e,t){let r=Re(e,t).split(` `).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}m.getMultilineInput=bn;function qn(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\``)}m.getBooleanInput=qn;function xn(e,t){if(process.env.GITHUB_OUTPUT||"")return D.issueFileCommand("OUTPUT",D.prepareKeyValueMessage(e,t));process.stdout.write(Mt.EOL),T.issueCommand("set-output",{name:e},$.toCommandValue(t))}m.setOutput=xn;function _n(e){T.issue("echo",e?"on":"off")}m.setCommandEcho=_n;function wn(e){process.exitCode=Ut.Failure,Dt(e)}m.setFailed=wn;function Tn(){return process.env.RUNNER_DEBUG==="1"}m.isDebug=Tn;function On(e){T.issueCommand("debug",{},e)}m.debug=On;function Dt(e,t={}){T.issueCommand("error",$.toCommandProperties(t),e instanceof Error?e.toString():e)}m.error=Dt;function jn(e,t={}){T.issueCommand("warning",$.toCommandProperties(t),e instanceof Error?e.toString():e)}m.warning=jn;function En(e,t={}){T.issueCommand("notice",$.toCommandProperties(t),e instanceof Error?e.toString():e)}m.notice=En;function Rn(e){process.stdout.write(e+Mt.EOL)}m.info=Rn;function Nt(e){T.issue("group",e)}m.startGroup=Nt;function kt(){T.issue("endgroup")}m.endGroup=kt;function Pn(e,t){return At(this,void 0,void 0,function*(){Nt(e);let r;try{r=yield t()}finally{kt()}return r})}m.group=Pn;function Sn(e,t){if(process.env.GITHUB_STATE||"")return D.issueFileCommand("STATE",D.prepareKeyValueMessage(e,t));T.issueCommand("save-state",{name:e},$.toCommandValue(t))}m.saveState=Sn;function An(e){return process.env[`STATE_${e}`]||""}m.getState=An;function Mn(e){return At(this,void 0,void 0,function*(){return yield fn.OidcClient.getIDToken(e)})}m.getIDToken=Mn;var Un=Ee();Object.defineProperty(m,"summary",{enumerable:!0,get:function(){return Un.summary}});var Dn=Ee();Object.defineProperty(m,"markdownSummary",{enumerable:!0,get:function(){return Dn.markdownSummary}});var Pe=Pt();Object.defineProperty(m,"toPosixPath",{enumerable:!0,get:function(){return Pe.toPosixPath}});Object.defineProperty(m,"toWin32Path",{enumerable:!0,get:function(){return Pe.toWin32Path}});Object.defineProperty(m,"toPlatformPath",{enumerable:!0,get:function(){return Pe.toPlatformPath}})});var $t=y((ro,kn)=>{kn.exports={"mage-os/project-community-edition:1.0.0":{magento:"mage-os/project-community-edition:1.0.0",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2023-10-11T00:00:00+0000"},"mage-os/project-community-edition:1.0.1":{magento:"mage-os/project-community-edition:1.0.1",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-11T00:00:00+0000",eol:"2026-10-11T00:00:00+0000"}}});var Lt=y((no,Cn)=>{Cn.exports={"magento/project-community-edition:2.3.7-p3":{magento:"magento/project-community-edition:2.3.7-p3",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-04-12T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.3.7-p4":{magento:"magento/project-community-edition:2.3.7-p4",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-08-09T00:00:00+0000",eol:"2022-09-30T00:00:00+0000"},"magento/project-community-edition:2.4.0":{magento:"magento/project-community-edition:2.4.0",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.6.2",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-07-28T00:00:00+0000",eol:"2020-10-15T00:00:00+0000"},"magento/project-community-edition:2.4.0-p1":{magento:"magento/project-community-edition:2.4.0-p1",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.6.2",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-10-15T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.1":{magento:"magento/project-community-edition:2.4.1",php:7.4,composer:1,mysql:"mysql:8.0.20",elasticsearch:"elasticsearch:7.7.1",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-10-15T00:00:00+0000",eol:"2021-02-09T00:00:00+0000"},"magento/project-community-edition:2.4.1-p1":{magento:"magento/project-community-edition:2.4.1-p1",php:7.4,composer:1,mysql:"mysql:8.0.20",elasticsearch:"elasticsearch:7.7.1",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-02-09T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.2":{magento:"magento/project-community-edition:2.4.2",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-02-09T00:00:00+0000",eol:"2021-05-11T00:00:00+0000"},"magento/project-community-edition:2.4.2-p1":{magento:"magento/project-community-edition:2.4.2-p1",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-05-11T00:00:00+0000",eol:"2021-08-10T00:00:00+0000"},"magento/project-community-edition:2.4.2-p2":{magento:"magento/project-community-edition:2.4.2-p2",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-08-10T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.3":{magento:"magento/project-community-edition:2.4.3",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-08-10T00:00:00+0000",eol:"2021-10-12T00:00:00+0000"},"magento/project-community-edition:2.4.3-p1":{magento:"magento/project-community-edition:2.4.3-p1",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-10-12T00:00:00+0000",eol:"2022-04-12T00:00:00+0000"},"magento/project-community-edition:2.4.3-p2":{magento:"magento/project-community-edition:2.4.3-p2",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-04-12T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.3-p3":{magento:"magento/project-community-edition:2.4.3-p3",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-08-09T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.4":{magento:"magento/project-community-edition:2.4.4",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-04-12T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.4-p1":{magento:"magento/project-community-edition:2.4.4-p1",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-08-09T00:00:00+0000",eol:"2022-10-11T00:00:00+0000"},"magento/project-community-edition:2.4.4-p2":{magento:"magento/project-community-edition:2.4.4-p2",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-10-11T00:00:00+0000",eol:"2023-03-14T00:00:00+0000"},"magento/project-community-edition:2.4.4-p3":{magento:"magento/project-community-edition:2.4.4-p3",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2023-06-13T00:00:00+0000"},"magento/project-community-edition:2.4.4-p4":{magento:"magento/project-community-edition:2.4.4-p4",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-06-13T00:00:00+0000",eol:"2023-08-08T00:00:00+0000"},"magento/project-community-edition:2.4.4-p5":{magento:"magento/project-community-edition:2.4.4-p5",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2023-10-10T00:00:00+0000"},"magento/project-community-edition:2.4.4-p6":{magento:"magento/project-community-edition:2.4.4-p6",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2025-04-24T00:00:00+0000"},"magento/project-community-edition:2.4.5":{magento:"magento/project-community-edition:2.4.5",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-08-09T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.5-p1":{magento:"magento/project-community-edition:2.4.5-p1",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-10-11T00:00:00+0000",eol:"2023-03-14T00:00:00+0000"},"magento/project-community-edition:2.4.5-p2":{magento:"magento/project-community-edition:2.4.5-p2",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2023-06-13T00:00:00+0000"},"magento/project-community-edition:2.4.5-p3":{magento:"magento/project-community-edition:2.4.5-p3",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-06-13T00:00:00+0000",eol:"2023-08-08T00:00:00+0000"},"magento/project-community-edition:2.4.5-p4":{magento:"magento/project-community-edition:2.4.5-p4",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2023-10-10T00:00:00+0000"},"magento/project-community-edition:2.4.5-p5":{magento:"magento/project-community-edition:2.4.5-p5",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2025-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.6":{magento:"magento/project-community-edition:2.4.6",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2023-06-13T00:00:00+0000"},"magento/project-community-edition:2.4.6-p1":{magento:"magento/project-community-edition:2.4.6-p1",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-06-13T00:00:00+0000",eol:"2023-08-08T00:00:00+0000"},"magento/project-community-edition:2.4.6-p2":{magento:"magento/project-community-edition:2.4.6-p2",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2023-10-10T00:00:00+0000"},"magento/project-community-edition:2.4.6-p3":{magento:"magento/project-community-edition:2.4.6-p3",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"}}});var Ft=y((io,In)=>{In.exports={"mage-os/project-community-edition":{magento:"mage-os/project-community-edition",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2026-10-10T00:00:00+0000"},"mage-os/project-community-edition:next":{magento:"mage-os/project-community-edition:next",php:8.2,composer:"2",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.11-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2026-10-10T00:00:00+0000"}}});var Kt=y((oo,Vn)=>{Vn.exports={"magento/project-community-edition:>=2.3 <2.4":{magento:"magento/project-community-edition:>=2.3 <2.4",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2018-11-28T00:00:00+0000",eol:"2022-09-30T00:00:00+0000"},"magento/project-community-edition:>=2.4.0 <2.4.1":{magento:"magento/project-community-edition:>=2.4.0 <2.4.1",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.6.2",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-07-28T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.1 <2.4.2":{magento:"magento/project-community-edition:>=2.4.1 <2.4.2",php:7.4,composer:1,mysql:"mysql:8.0.20",elasticsearch:"elasticsearch:7.7.1",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-10-15T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.2 <2.4.3":{magento:"magento/project-community-edition:>=2.4.2 <2.4.3",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-02-09T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.3 <2.4.4":{magento:"magento/project-community-edition:>=2.4.3 <2.4.4",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-08-10T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.4 <2.4.5":{magento:"magento/project-community-edition:>=2.4.4 <2.4.5",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-04-12T00:00:00+0000",eol:"2025-04-24T00:00:00+0000"},"magento/project-community-edition:>=2.4.5 <2.4.6":{magento:"magento/project-community-edition:>=2.4.5 <2.4.6",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2025-08-09T00:00:00+0000"},"magento/project-community-edition:>=2.4.6 <2.4.7":{magento:"magento/project-community-edition:>=2.4.6 <2.4.7",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"},"magento/project-community-edition":{magento:"magento/project-community-edition",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2015-11-17T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"},"magento/project-community-edition:next":{magento:"magento/project-community-edition:next",php:8.2,composer:"2",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.11-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2015-11-17T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"}}});var Fn={};Ue(Fn,{run:()=>tr});module.exports=Ne(Fn);var U=Y(we());var Ct=(e,t)=>{if(t&&e!=="custom")throw new Error("`custom_versions` can only be used with kind `custom`");return!0};var Se={"currently-supported":!0,latest:!0,custom:!0,nightly:!0,all:!0};var It=e=>{if(!(e in Se))throw new Error(`Invalid kind provided, supported kinds are: ${Object.keys(Se).join(", ")}`);return!0};var Vt=(e,t=null)=>Nn.reduce((r,n)=>n(e,t),!0),Nn=[It,Ct];var Ae={"mage-os":!0,"magento-open-source":!0};var Bt=e=>{if(!(e in Ae))throw new Error(`Invalid project provided, supported projects are: ${Object.keys(Ae).join(", ")}`);return!0};var z=e=>Bt(e);var Gt={"mage-os":$t(),"magento-open-source":Lt()},Jt={"mage-os":Ft(),"magento-open-source":Kt()},L=e=>{if(z(e),Gt[e]===void 0)throw new Error(`Project "${e}" has no individual version specifications`);return Gt[e]},Wt=e=>{if(z(e),Jt[e]===void 0)throw new Error(`Project "${e}" has no composite version specifications`);return Jt[e]};var F=(e,t)=>{let r={...L(e),...Wt(e)};return t.reduce((n,i)=>{if(r[i]===void 0)throw new Error(`Unknown "${i}" version while computing matrix`);return{magento:[...n.magento,i],include:[...n.include,r[i]]}},{magento:[],include:[]})};var zt={"mage-os":["mage-os/project-community-edition"],"magento-open-source":["magento/project-community-edition"]};var Ht={"mage-os":["mage-os/project-community-edition:next"],"magento-open-source":["magento/project-community-edition:next"]};var Yt=(e=new Date)=>{let t=new Date(e);return t.setDate(t.getDate()-1),t};var Qt=(e,t)=>{let r=L(e);return Object.entries(r).filter(([n,i])=>{let o=new Date(i.release);return o.setMinutes(o.getMinutes()+1),t>=o&&new Date(i.eol)>=t}).map(([n,i])=>n)};var Xt=(e,t)=>{switch(e){case"https://nightly.mage-os.org":case"https://upstream-nightly.mage-os.org":return"@alpha";default:return"next"}};var Me=(e,t,r)=>e.replace(/(?!:)next$/,Xt(t,r));var Ln="next",Zt=(e,t,r=new Date)=>{let n=new RegExp(Ln+"$");return e.magento=e.magento.map(i=>i.match(n)?Me(i,t,r):i),e.include=e.include.map(i=>i.magento.match(n)?{...i,magento:Me(i.magento,t,r)}:i),e};var er=(e,t,r="")=>{switch(e){case"latest":return F(t,zt[t]);case"currently-supported":return F(t,Qt(t,new Date));case"nightly":return Zt(F(t,Ht[t]),"https://upstream-nightly.mage-os.org",Yt());case"all":return F(t,Object.keys(L(t)));case"custom":return F(t,r.split(","));default:throw new Error(`Unreachable kind: ${e} discovered, please report to the maintainers.`)}};async function tr(){try{let e=U.getInput("kind"),t=U.getInput("custom_versions"),r=U.getInput("project");z(r),Vt(e,t?t.split(","):void 0),U.setOutput("matrix",er(e,r,t))}catch(e){U.setFailed(e.message)}}tr();0&&(module.exports={run}); +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}m.getBooleanInput=qn;function xn(e,t){if(process.env.GITHUB_OUTPUT||"")return D.issueFileCommand("OUTPUT",D.prepareKeyValueMessage(e,t));process.stdout.write(Mt.EOL),T.issueCommand("set-output",{name:e},$.toCommandValue(t))}m.setOutput=xn;function _n(e){T.issue("echo",e?"on":"off")}m.setCommandEcho=_n;function wn(e){process.exitCode=Ut.Failure,Dt(e)}m.setFailed=wn;function Tn(){return process.env.RUNNER_DEBUG==="1"}m.isDebug=Tn;function jn(e){T.issueCommand("debug",{},e)}m.debug=jn;function Dt(e,t={}){T.issueCommand("error",$.toCommandProperties(t),e instanceof Error?e.toString():e)}m.error=Dt;function On(e,t={}){T.issueCommand("warning",$.toCommandProperties(t),e instanceof Error?e.toString():e)}m.warning=On;function En(e,t={}){T.issueCommand("notice",$.toCommandProperties(t),e instanceof Error?e.toString():e)}m.notice=En;function Rn(e){process.stdout.write(e+Mt.EOL)}m.info=Rn;function Nt(e){T.issue("group",e)}m.startGroup=Nt;function kt(){T.issue("endgroup")}m.endGroup=kt;function Pn(e,t){return At(this,void 0,void 0,function*(){Nt(e);let r;try{r=yield t()}finally{kt()}return r})}m.group=Pn;function Sn(e,t){if(process.env.GITHUB_STATE||"")return D.issueFileCommand("STATE",D.prepareKeyValueMessage(e,t));T.issueCommand("save-state",{name:e},$.toCommandValue(t))}m.saveState=Sn;function An(e){return process.env[`STATE_${e}`]||""}m.getState=An;function Mn(e){return At(this,void 0,void 0,function*(){return yield fn.OidcClient.getIDToken(e)})}m.getIDToken=Mn;var Un=Ee();Object.defineProperty(m,"summary",{enumerable:!0,get:function(){return Un.summary}});var Dn=Ee();Object.defineProperty(m,"markdownSummary",{enumerable:!0,get:function(){return Dn.markdownSummary}});var Pe=Pt();Object.defineProperty(m,"toPosixPath",{enumerable:!0,get:function(){return Pe.toPosixPath}});Object.defineProperty(m,"toWin32Path",{enumerable:!0,get:function(){return Pe.toWin32Path}});Object.defineProperty(m,"toPlatformPath",{enumerable:!0,get:function(){return Pe.toPlatformPath}})});var $t=y((ro,kn)=>{kn.exports={"mage-os/project-community-edition:1.0.0":{magento:"mage-os/project-community-edition:1.0.0",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2023-10-11T00:00:00+0000"},"mage-os/project-community-edition:1.0.1":{magento:"mage-os/project-community-edition:1.0.1",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-11T00:00:00+0000",eol:"2026-10-11T00:00:00+0000"}}});var Lt=y((no,Cn)=>{Cn.exports={"magento/project-community-edition:2.3.7-p3":{magento:"magento/project-community-edition:2.3.7-p3",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-04-12T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.3.7-p4":{magento:"magento/project-community-edition:2.3.7-p4",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-08-09T00:00:00+0000",eol:"2022-09-30T00:00:00+0000"},"magento/project-community-edition:2.4.0":{magento:"magento/project-community-edition:2.4.0",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.6.2",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-07-28T00:00:00+0000",eol:"2020-10-15T00:00:00+0000"},"magento/project-community-edition:2.4.0-p1":{magento:"magento/project-community-edition:2.4.0-p1",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.6.2",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-10-15T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.1":{magento:"magento/project-community-edition:2.4.1",php:7.4,composer:1,mysql:"mysql:8.0.20",elasticsearch:"elasticsearch:7.7.1",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-10-15T00:00:00+0000",eol:"2021-02-09T00:00:00+0000"},"magento/project-community-edition:2.4.1-p1":{magento:"magento/project-community-edition:2.4.1-p1",php:7.4,composer:1,mysql:"mysql:8.0.20",elasticsearch:"elasticsearch:7.7.1",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-02-09T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.2":{magento:"magento/project-community-edition:2.4.2",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-02-09T00:00:00+0000",eol:"2021-05-11T00:00:00+0000"},"magento/project-community-edition:2.4.2-p1":{magento:"magento/project-community-edition:2.4.2-p1",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-05-11T00:00:00+0000",eol:"2021-08-10T00:00:00+0000"},"magento/project-community-edition:2.4.2-p2":{magento:"magento/project-community-edition:2.4.2-p2",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-08-10T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.3":{magento:"magento/project-community-edition:2.4.3",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-08-10T00:00:00+0000",eol:"2021-10-12T00:00:00+0000"},"magento/project-community-edition:2.4.3-p1":{magento:"magento/project-community-edition:2.4.3-p1",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-10-12T00:00:00+0000",eol:"2022-04-12T00:00:00+0000"},"magento/project-community-edition:2.4.3-p2":{magento:"magento/project-community-edition:2.4.3-p2",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-04-12T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.3-p3":{magento:"magento/project-community-edition:2.4.3-p3",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2022-08-09T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:2.4.4":{magento:"magento/project-community-edition:2.4.4",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-04-12T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.4-p1":{magento:"magento/project-community-edition:2.4.4-p1",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-08-09T00:00:00+0000",eol:"2022-10-11T00:00:00+0000"},"magento/project-community-edition:2.4.4-p2":{magento:"magento/project-community-edition:2.4.4-p2",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-10-11T00:00:00+0000",eol:"2023-03-14T00:00:00+0000"},"magento/project-community-edition:2.4.4-p3":{magento:"magento/project-community-edition:2.4.4-p3",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2023-06-13T00:00:00+0000"},"magento/project-community-edition:2.4.4-p4":{magento:"magento/project-community-edition:2.4.4-p4",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-06-13T00:00:00+0000",eol:"2023-08-08T00:00:00+0000"},"magento/project-community-edition:2.4.4-p5":{magento:"magento/project-community-edition:2.4.4-p5",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2023-10-10T00:00:00+0000"},"magento/project-community-edition:2.4.4-p6":{magento:"magento/project-community-edition:2.4.4-p6",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2024-02-12T00:00:00+0000"},"magento/project-community-edition:2.4.4-p7":{magento:"magento/project-community-edition:2.4.4-p7",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2024-02-12T00:00:00+0000",eol:"2025-04-24T00:00:00+0000"},"magento/project-community-edition:2.4.5":{magento:"magento/project-community-edition:2.4.5",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-08-09T00:00:00+0000",eol:"2022-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.5-p1":{magento:"magento/project-community-edition:2.4.5-p1",php:8.1,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.0",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-10-11T00:00:00+0000",eol:"2023-03-14T00:00:00+0000"},"magento/project-community-edition:2.4.5-p2":{magento:"magento/project-community-edition:2.4.5-p2",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2023-06-13T00:00:00+0000"},"magento/project-community-edition:2.4.5-p3":{magento:"magento/project-community-edition:2.4.5-p3",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-06-13T00:00:00+0000",eol:"2023-08-08T00:00:00+0000"},"magento/project-community-edition:2.4.5-p4":{magento:"magento/project-community-edition:2.4.5-p4",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2023-10-10T00:00:00+0000"},"magento/project-community-edition:2.4.5-p5":{magento:"magento/project-community-edition:2.4.5-p5",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2024-02-12T00:00:00+0000"},"magento/project-community-edition:2.4.5-p6":{magento:"magento/project-community-edition:2.4.5-p6",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2024-02-12T00:00:00+0000",eol:"2025-08-09T00:00:00+0000"},"magento/project-community-edition:2.4.6":{magento:"magento/project-community-edition:2.4.6",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2023-06-13T00:00:00+0000"},"magento/project-community-edition:2.4.6-p1":{magento:"magento/project-community-edition:2.4.6-p1",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-06-13T00:00:00+0000",eol:"2023-08-08T00:00:00+0000"},"magento/project-community-edition:2.4.6-p2":{magento:"magento/project-community-edition:2.4.6-p2",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2023-10-10T00:00:00+0000"},"magento/project-community-edition:2.4.6-p3":{magento:"magento/project-community-edition:2.4.6-p3",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2024-02-12T00:00:00+0000"},"magento/project-community-edition:2.4.6-p4":{magento:"magento/project-community-edition:2.4.6-p4",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2024-02-12T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"}}});var Ft=y((io,In)=>{In.exports={"mage-os/project-community-edition":{magento:"mage-os/project-community-edition",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2026-10-10T00:00:00+0000"},"mage-os/project-community-edition:next":{magento:"mage-os/project-community-edition:next",php:8.2,composer:"2",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.11-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-10-10T00:00:00+0000",eol:"2026-10-10T00:00:00+0000"}}});var Kt=y((oo,Vn)=>{Vn.exports={"magento/project-community-edition:>=2.3 <2.4":{magento:"magento/project-community-edition:>=2.3 <2.4",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2018-11-28T00:00:00+0000",eol:"2022-09-30T00:00:00+0000"},"magento/project-community-edition:>=2.4.0 <2.4.1":{magento:"magento/project-community-edition:>=2.4.0 <2.4.1",php:7.4,composer:1,mysql:"mysql:5.7.30",elasticsearch:"elasticsearch:7.6.2",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-07-28T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.1 <2.4.2":{magento:"magento/project-community-edition:>=2.4.1 <2.4.2",php:7.4,composer:1,mysql:"mysql:8.0.20",elasticsearch:"elasticsearch:7.7.1",rabbitmq:"rabbitmq:3.8-management",redis:"redis:5.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2020-10-15T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.2 <2.4.3":{magento:"magento/project-community-edition:>=2.4.2 <2.4.3",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.9.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-02-09T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.3 <2.4.4":{magento:"magento/project-community-edition:>=2.4.3 <2.4.4",php:7.4,composer:2,mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.16.3",rabbitmq:"rabbitmq:3.8-management",redis:"redis:6.0",varnish:"varnish:6.0",nginx:"nginx:1.18",os:"ubuntu-20.04",release:"2021-08-10T00:00:00+0000",eol:"2022-11-28T00:00:00+0000"},"magento/project-community-edition:>=2.4.4 <2.4.5":{magento:"magento/project-community-edition:>=2.4.4 <2.4.5",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.9-management",redis:"redis:6.2",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2022-04-12T00:00:00+0000",eol:"2025-04-24T00:00:00+0000"},"magento/project-community-edition:>=2.4.5 <2.4.6":{magento:"magento/project-community-edition:>=2.4.5 <2.4.6",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:7.17.5",rabbitmq:"rabbitmq:3.11-management",redis:"redis:6.2",varnish:"varnish:7.1",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-08-08T00:00:00+0000",eol:"2025-08-09T00:00:00+0000"},"magento/project-community-edition:>=2.4.6 <2.4.7":{magento:"magento/project-community-edition:>=2.4.6 <2.4.7",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2023-03-14T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"},"magento/project-community-edition":{magento:"magento/project-community-edition",php:8.1,composer:"2.2.21",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.9-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2015-11-17T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"},"magento/project-community-edition:next":{magento:"magento/project-community-edition:next",php:8.2,composer:"2",mysql:"mysql:8.0",elasticsearch:"elasticsearch:8.5.3",rabbitmq:"rabbitmq:3.11-management",redis:"redis:7.0",varnish:"varnish:7.3",nginx:"nginx:1.22",os:"ubuntu-latest",release:"2015-11-17T00:00:00+0000",eol:"2026-03-14T00:00:00+0000"}}});var Fn={};Ue(Fn,{run:()=>tr});module.exports=Ne(Fn);var U=Y(we());var Ct=(e,t)=>{if(t&&e!=="custom")throw new Error("`custom_versions` can only be used with kind `custom`");return!0};var Se={"currently-supported":!0,latest:!0,custom:!0,nightly:!0,all:!0};var It=e=>{if(!(e in Se))throw new Error(`Invalid kind provided, supported kinds are: ${Object.keys(Se).join(", ")}`);return!0};var Vt=(e,t=null)=>Nn.reduce((r,n)=>n(e,t),!0),Nn=[It,Ct];var Ae={"mage-os":!0,"magento-open-source":!0};var Bt=e=>{if(!(e in Ae))throw new Error(`Invalid project provided, supported projects are: ${Object.keys(Ae).join(", ")}`);return!0};var z=e=>Bt(e);var Gt={"mage-os":$t(),"magento-open-source":Lt()},Jt={"mage-os":Ft(),"magento-open-source":Kt()},L=e=>{if(z(e),Gt[e]===void 0)throw new Error(`Project "${e}" has no individual version specifications`);return Gt[e]},Wt=e=>{if(z(e),Jt[e]===void 0)throw new Error(`Project "${e}" has no composite version specifications`);return Jt[e]};var F=(e,t)=>{let r={...L(e),...Wt(e)};return t.reduce((n,i)=>{if(r[i]===void 0)throw new Error(`Unknown "${i}" version while computing matrix`);return{magento:[...n.magento,i],include:[...n.include,r[i]]}},{magento:[],include:[]})};var zt={"mage-os":["mage-os/project-community-edition"],"magento-open-source":["magento/project-community-edition"]};var Ht={"mage-os":["mage-os/project-community-edition:next"],"magento-open-source":["magento/project-community-edition:next"]};var Yt=(e=new Date)=>{let t=new Date(e);return t.setDate(t.getDate()-1),t};var Qt=(e,t)=>{let r=L(e);return Object.entries(r).filter(([n,i])=>{let o=new Date(i.release);return o.setMinutes(o.getMinutes()+1),t>=o&&new Date(i.eol)>=t}).map(([n,i])=>n)};var Xt=(e,t)=>{switch(e){case"https://nightly.mage-os.org":case"https://upstream-nightly.mage-os.org":return"@alpha";default:return"next"}};var Me=(e,t,r)=>e.replace(/(?!:)next$/,Xt(t,r));var Ln="next",Zt=(e,t,r=new Date)=>{let n=new RegExp(Ln+"$");return e.magento=e.magento.map(i=>i.match(n)?Me(i,t,r):i),e.include=e.include.map(i=>i.magento.match(n)?{...i,magento:Me(i.magento,t,r)}:i),e};var er=(e,t,r="")=>{switch(e){case"latest":return F(t,zt[t]);case"currently-supported":return F(t,Qt(t,new Date));case"nightly":return Zt(F(t,Ht[t]),"https://upstream-nightly.mage-os.org",Yt());case"all":return F(t,Object.keys(L(t)));case"custom":return F(t,r.split(","));default:throw new Error(`Unreachable kind: ${e} discovered, please report to the maintainers.`)}};async function tr(){try{let e=U.getInput("kind"),t=U.getInput("custom_versions"),r=U.getInput("project");z(r),Vt(e,t?t.split(","):void 0),U.setOutput("matrix",er(e,r,t))}catch(e){U.setFailed(e.message)}}tr();0&&(module.exports={run}); diff --git a/supported-version/src/kind/get-currently-supported.spec.ts b/supported-version/src/kind/get-currently-supported.spec.ts index e9e60fe..7b5e53f 100644 --- a/supported-version/src/kind/get-currently-supported.spec.ts +++ b/supported-version/src/kind/get-currently-supported.spec.ts @@ -39,20 +39,20 @@ describe('getCurrentlySupportedVersions for magento-open-source', () => { 'magento/project-community-edition:2.4.6-p3', ]], ['2024-12-31T00:00:00Z', 'End of 2024', [ - 'magento/project-community-edition:2.4.4-p6', - 'magento/project-community-edition:2.4.5-p5', - 'magento/project-community-edition:2.4.6-p3', + 'magento/project-community-edition:2.4.4-p7', + 'magento/project-community-edition:2.4.5-p6', + 'magento/project-community-edition:2.4.6-p4', ]], ['2025-08-08T00:00:00Z', 'Day Before v2.4.5 EoL', [ - 'magento/project-community-edition:2.4.5-p5', - 'magento/project-community-edition:2.4.6-p3', + 'magento/project-community-edition:2.4.5-p6', + 'magento/project-community-edition:2.4.6-p4', ]], ['2025-08-09T00:00:00Z', 'Day of v2.4.5 EoL', [ - 'magento/project-community-edition:2.4.5-p5', - 'magento/project-community-edition:2.4.6-p3', + 'magento/project-community-edition:2.4.5-p6', + 'magento/project-community-edition:2.4.6-p4', ]], ['2025-08-10T00:00:00Z', 'Day after v2.4.5 EoL', [ - 'magento/project-community-edition:2.4.6-p3', + 'magento/project-community-edition:2.4.6-p4', ]], ['2026-03-15T00:00:00Z', 'Day after v2.4.6 EoL', [ ]], diff --git a/supported-version/src/versions/magento-open-source/individual.json b/supported-version/src/versions/magento-open-source/individual.json index 050a5e0..656263b 100644 --- a/supported-version/src/versions/magento-open-source/individual.json +++ b/supported-version/src/versions/magento-open-source/individual.json @@ -277,6 +277,20 @@ "nginx": "nginx:1.22", "os": "ubuntu-latest", "release": "2023-10-10T00:00:00+0000", + "eol": "2024-02-12T00:00:00+0000" + }, + "magento/project-community-edition:2.4.4-p7": { + "magento": "magento/project-community-edition:2.4.4-p7", + "php": 8.1, + "composer": "2.2.21", + "mysql": "mysql:8.0", + "elasticsearch": "elasticsearch:7.17.5", + "rabbitmq": "rabbitmq:3.9-management", + "redis": "redis:6.2", + "varnish": "varnish:7.3", + "nginx": "nginx:1.22", + "os": "ubuntu-latest", + "release": "2024-02-12T00:00:00+0000", "eol": "2025-04-24T00:00:00+0000" }, "magento/project-community-edition:2.4.5": { @@ -361,6 +375,20 @@ "nginx": "nginx:1.22", "os": "ubuntu-latest", "release": "2023-10-10T00:00:00+0000", + "eol": "2024-02-12T00:00:00+0000" + }, + "magento/project-community-edition:2.4.5-p6": { + "magento": "magento/project-community-edition:2.4.5-p6", + "php": 8.1, + "composer": "2.2.21", + "mysql": "mysql:8.0", + "elasticsearch": "elasticsearch:7.17.5", + "rabbitmq": "rabbitmq:3.11-management", + "redis": "redis:6.2", + "varnish": "varnish:7.1", + "nginx": "nginx:1.22", + "os": "ubuntu-latest", + "release": "2024-02-12T00:00:00+0000", "eol": "2025-08-09T00:00:00+0000" }, "magento/project-community-edition:2.4.6": { @@ -417,6 +445,20 @@ "nginx": "nginx:1.22", "os": "ubuntu-latest", "release": "2023-10-10T00:00:00+0000", + "eol": "2024-02-12T00:00:00+0000" + }, + "magento/project-community-edition:2.4.6-p4": { + "magento": "magento/project-community-edition:2.4.6-p4", + "php": 8.1, + "composer": "2.2.21", + "mysql": "mysql:8.0", + "elasticsearch": "elasticsearch:8.5.3", + "rabbitmq": "rabbitmq:3.9-management", + "redis": "redis:7.0", + "varnish": "varnish:7.3", + "nginx": "nginx:1.22", + "os": "ubuntu-latest", + "release": "2024-02-12T00:00:00+0000", "eol": "2026-03-14T00:00:00+0000" } }