From 30c7c436ca5db281f79bf5befbee9010cf8468cb Mon Sep 17 00:00:00 2001 From: Lex Date: Mon, 21 Nov 2022 20:53:31 -0500 Subject: [PATCH] release: 1.1.2 (#38) Signed-off-by: Lexus Drumgold --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ dist/main.mjs | 10 +++++----- package.json | 2 +- 3 files changed, 35 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36ed925..e41615f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,32 @@ +## [1.1.2](https://github.com/flex-development/dist-tag-action/compare/1.1.1...1.1.2) (2022-11-21) + + +### :package: Build + +* **deps-bundle:** add `bundleDependencies` ([8334cb7](https://github.com/flex-development/dist-tag-action/commit/8334cb714783108515b011c63142160d6a1b6e63)) +* **deps-bundle:** bump @actions/core from 1.9.1 to 1.10.0 ([8dc0e4d](https://github.com/flex-development/dist-tag-action/commit/8dc0e4dfc60974568797ce9deb2bf76ea525b4cb)) +* **deps-bundle:** bump @flex-development/dist-tag from 2.0.0 to 3.0.0 ([4b5db1b](https://github.com/flex-development/dist-tag-action/commit/4b5db1bc41e7f1a5be8c961b466db18a6cbdce43)) +* **deps-dev:** cleanup + upgrade deps ([9a88b44](https://github.com/flex-development/dist-tag-action/commit/9a88b441f57a0d73440fb324bee36ab17bf8a7dc)) + + +### :robot: Continuous Integration + +* **deps:** bump actions/checkout from 3.0.2 to 3.1.0 ([#31](https://github.com/flex-development/dist-tag-action/issues/31)) ([c2fa2dd](https://github.com/flex-development/dist-tag-action/commit/c2fa2dd4faf85daa47ff2f05b84be8b8f96005cf)) +* **deps:** bump actions/github-script from 6.3.0 to 6.3.1 ([#29](https://github.com/flex-development/dist-tag-action/issues/29)) ([d190cd6](https://github.com/flex-development/dist-tag-action/commit/d190cd6a53cdf73c29c3e3f1f427f6b9ab8c1737)) +* **deps:** bump actions/github-script from 6.3.1 to 6.3.2 ([#34](https://github.com/flex-development/dist-tag-action/issues/34)) ([ab1c624](https://github.com/flex-development/dist-tag-action/commit/ab1c624c4db970dc88b06def2a3a3a3a1cc3b577)) +* **deps:** bump actions/github-script from 6.3.2 to 6.3.3 ([#35](https://github.com/flex-development/dist-tag-action/issues/35)) ([1e339fa](https://github.com/flex-development/dist-tag-action/commit/1e339fa3b126436b387c578f56ff923b1d61f90c)) +* **deps:** bump crazy-max/ghaction-import-gpg from 5.1.0 to 5.2.0 ([#36](https://github.com/flex-development/dist-tag-action/issues/36)) ([c760aeb](https://github.com/flex-development/dist-tag-action/commit/c760aebd0997a2ab776c8df64a473345cfa8fa09)) +* **deps:** bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 ([#30](https://github.com/flex-development/dist-tag-action/issues/30)) ([cd33771](https://github.com/flex-development/dist-tag-action/commit/cd3377164f0faf3c65032f7d59f44cedc5655781)) +* **deps:** bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 ([#37](https://github.com/flex-development/dist-tag-action/issues/37)) ([4e378bf](https://github.com/flex-development/dist-tag-action/commit/4e378bfa64c68ab5d3d7fde14bb1c6a96231b94c)) +* **deps:** bump hmarr/debug-action from 2.0.1 to 2.1.0 ([#32](https://github.com/flex-development/dist-tag-action/issues/32)) ([f7adab9](https://github.com/flex-development/dist-tag-action/commit/f7adab904125953a60ad1c70cb0d7670171e10bd)) +* **deps:** bump octokit/graphql-action from 2.2.22 to 2.2.23 ([#33](https://github.com/flex-development/dist-tag-action/issues/33)) ([54e1f3d](https://github.com/flex-development/dist-tag-action/commit/54e1f3d477972025634bc5395baa5c4da662ae58)) +* **workflows:** hide loader warning when generating release notes ([708824f](https://github.com/flex-development/dist-tag-action/commit/708824fa8267cc82fd9b6a31eb09f29d3733d90c)) + + +### :house_with_garden: Housekeeping + +* **github:** add commit scope to `deps-bundle` ([5d08e53](https://github.com/flex-development/dist-tag-action/commit/5d08e536408e65148db7c265a27caaabd3445166)) + ## [1.1.1](https://github.com/flex-development/dist-tag-action/compare/1.1.0...1.1.1) (2022-09-28) diff --git a/dist/main.mjs b/dist/main.mjs index c1e6373..70029ea 100644 --- a/dist/main.mjs +++ b/dist/main.mjs @@ -1,8 +1,8 @@ -import{createRequire as __createRequire}from"node:module";const require=__createRequire(import.meta.url);var Ut=Object.create;var ke=Object.defineProperty;var Dt=Object.getOwnPropertyDescriptor;var Ct=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,kt=Object.prototype.hasOwnProperty;var v=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Bt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ct(t))!kt.call(e,i)&&i!==r&&ke(e,i,{get:()=>t[i],enumerable:!(n=Dt(t,i))||n.enumerable});return e};var It=(e,t,r)=>(r=e!=null?Ut(Nt(e)):{},Bt(t||!e||!e.__esModule?ke(r,"default",{value:e,enumerable:!0}):r,e));var G=_(k=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.toCommandProperties=k.toCommandValue=void 0;function Lt(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}k.toCommandValue=Lt;function $t(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=$t});var $e=_(R=>{"use strict";var jt=R&&R.__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]}),Ft=R&&R.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Vt=R&&R.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&jt(t,e,r);return Ft(t,e),t};Object.defineProperty(R,"__esModule",{value:!0});R.issue=R.issueCommand=void 0;var Gt=Vt(v("os")),Ie=G();function Le(e,t,r){let n=new de(e,t,r);process.stdout.write(n.toString()+Gt.EOL)}R.issueCommand=Le;function Jt(e,t=""){Le(e,{},t)}R.issue=Jt;var Be="::",de=class{constructor(t,r,n){t||(t="missing.command"),this.command=t,this.properties=r,this.message=n}toString(){let t=Be+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}=${Kt(i)}`)}}return t+=`${Be}${zt(this.message)}`,t}};function zt(e){return Ie.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Kt(e){return Ie.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var Ve=_(b=>{"use strict";var Yt=b&&b.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Wt=b&&b.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Fe=b&&b.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Yt(t,e,r);return Wt(t,e),t};Object.defineProperty(b,"__esModule",{value:!0});b.issueCommand=void 0;var je=Fe(v("fs")),Ht=Fe(v("os")),Qt=G();function Xt(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!je.existsSync(r))throw new Error(`Missing file at path: ${r}`);je.appendFileSync(r,`${Qt.toCommandValue(t)}${Ht.EOL}`,{encoding:"utf8"})}b.issueCommand=Xt});var pe=_(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});he.default=tr;var Zt=er(v("crypto"));function er(e){return e&&e.__esModule?e:{default:e}}var z=new Uint8Array(256),J=z.length;function tr(){return J>z.length-16&&(Zt.default.randomFillSync(z),J=0),z.slice(J,J+=16)}});var Ge=_(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.default=void 0;var rr=/^(?:[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;K.default=rr});var F=_(Y=>{"use strict";Object.defineProperty(Y,"__esModule",{value:!0});Y.default=void 0;var nr=ir(Ge());function ir(e){return e&&e.__esModule?e:{default:e}}function sr(e){return typeof e=="string"&&nr.default.test(e)}var or=sr;Y.default=or});var V=_(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});W.default=void 0;var ur=ar(F());function ar(e){return e&&e.__esModule?e:{default:e}}var g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));function cr(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(!(0,ur.default)(r))throw TypeError("Stringified UUID is invalid");return r}var lr=cr;W.default=lr});var Ke=_(H=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});H.default=void 0;var fr=ze(pe()),dr=ze(V());function ze(e){return e&&e.__esModule?e:{default:e}}var Je,_e,ve=0,me=0;function hr(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let s=e.node||Je,o=e.clockseq!==void 0?e.clockseq:_e;if(s==null||o==null){let h=e.random||(e.rng||fr.default)();s==null&&(s=Je=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),o==null&&(o=_e=(h[6]<<8|h[7])&16383)}let c=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:me+1,u=c-ve+(l-me)/1e4;if(u<0&&e.clockseq===void 0&&(o=o+1&16383),(u<0||c>ve)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ve=c,me=l,_e=o,c+=122192928e5;let a=((c&268435455)*1e4+l)%4294967296;i[n++]=a>>>24&255,i[n++]=a>>>16&255,i[n++]=a>>>8&255,i[n++]=a&255;let d=c/4294967296*1e4&268435455;i[n++]=d>>>8&255,i[n++]=d&255,i[n++]=d>>>24&15|16,i[n++]=d>>>16&255,i[n++]=o>>>8|128,i[n++]=o&255;for(let h=0;h<6;++h)i[n+h]=s[h];return t||(0,dr.default)(i)}var pr=hr;H.default=pr});var ge=_(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});Q.default=void 0;var _r=vr(F());function vr(e){return e&&e.__esModule?e:{default:e}}function mr(e){if(!(0,_r.default)(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 gr=mr;Q.default=gr});var ye=_(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});C.default=Rr;C.URL=C.DNS=void 0;var yr=Ye(V()),wr=Ye(ge());function Ye(e){return e&&e.__esModule?e:{default:e}}function Or(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{"use strict";Object.defineProperty(X,"__esModule",{value:!0});X.default=void 0;var Er=Pr(v("crypto"));function Pr(e){return e&&e.__esModule?e:{default:e}}function qr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Er.default.createHash("md5").update(e).digest()}var br=qr;X.default=br});var Ze=_(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.default=void 0;var Sr=Xe(ye()),Ar=Xe(Qe());function Xe(e){return e&&e.__esModule?e:{default:e}}var Tr=(0,Sr.default)("v3",48,Ar.default),xr=Tr;Z.default=xr});var tt=_(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});ee.default=void 0;var Mr=et(pe()),Ur=et(V());function et(e){return e&&e.__esModule?e:{default:e}}function Dr(e,t,r){e=e||{};let n=e.random||(e.rng||Mr.default)();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(0,Ur.default)(n)}var Cr=Dr;ee.default=Cr});var rt=_(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.default=void 0;var Nr=kr(v("crypto"));function kr(e){return e&&e.__esModule?e:{default:e}}function Br(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Nr.default.createHash("sha1").update(e).digest()}var Ir=Br;te.default=Ir});var it=_(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.default=void 0;var Lr=nt(ye()),$r=nt(rt());function nt(e){return e&&e.__esModule?e:{default:e}}var jr=(0,Lr.default)("v5",80,$r.default),Fr=jr;re.default=Fr});var st=_(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.default=void 0;var Vr="00000000-0000-0000-0000-000000000000";ne.default=Vr});var ot=_(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.default=void 0;var Gr=Jr(F());function Jr(e){return e&&e.__esModule?e:{default:e}}function zr(e){if(!(0,Gr.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var Kr=zr;ie.default=Kr});var ut=_(P=>{"use strict";Object.defineProperty(P,"__esModule",{value:!0});Object.defineProperty(P,"v1",{enumerable:!0,get:function(){return Yr.default}});Object.defineProperty(P,"v3",{enumerable:!0,get:function(){return Wr.default}});Object.defineProperty(P,"v4",{enumerable:!0,get:function(){return Hr.default}});Object.defineProperty(P,"v5",{enumerable:!0,get:function(){return Qr.default}});Object.defineProperty(P,"NIL",{enumerable:!0,get:function(){return Xr.default}});Object.defineProperty(P,"version",{enumerable:!0,get:function(){return Zr.default}});Object.defineProperty(P,"validate",{enumerable:!0,get:function(){return en.default}});Object.defineProperty(P,"stringify",{enumerable:!0,get:function(){return tn.default}});Object.defineProperty(P,"parse",{enumerable:!0,get:function(){return rn.default}});var Yr=A(Ke()),Wr=A(Ze()),Hr=A(tt()),Qr=A(it()),Xr=A(st()),Zr=A(ot()),en=A(F()),tn=A(V()),rn=A(ge());function A(e){return e&&e.__esModule?e:{default:e}}});var ct=_(B=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0});B.checkBypass=B.getProxyUrl=void 0;function nn(e){let t=e.protocol==="https:";if(at(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)}B.getProxyUrl=nn;function at(e){if(!e.hostname)return!1;let t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=Number(e.port):e.protocol==="http:"?r=80:e.protocol==="https:"&&(r=443);let n=[e.hostname.toUpperCase()];typeof r=="number"&&n.push(`${n[0]}:${r}`);for(let i of t.split(",").map(s=>s.trim().toUpperCase()).filter(s=>s))if(n.some(s=>s===i))return!0;return!1}B.checkBypass=at});var ht=_(I=>{"use strict";var bi=v("net"),sn=v("tls"),we=v("http"),lt=v("https"),on=v("events"),Si=v("assert"),un=v("util");I.httpOverHttp=an;I.httpsOverHttp=cn;I.httpOverHttps=ln;I.httpsOverHttps=fn;function an(e){var t=new T(e);return t.request=we.request,t}function cn(e){var t=new T(e);return t.request=we.request,t.createSocket=ft,t.defaultPort=443,t}function ln(e){var t=new T(e);return t.request=lt.request,t}function fn(e){var t=new T(e);return t.request=lt.request,t.createSocket=ft,t.defaultPort=443,t}function T(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||we.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,s,o){for(var c=dt(i,s,o),l=0,u=t.requests.length;l=this.maxSockets){s.requests.push(o);return}s.createSocket(o,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),t.onSocket(c);function l(){s.emit("free",c,o)}function u(a){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}})};T.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var s=Oe({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(s.localAddress=t.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),M("making CONNECT request");var o=n.request(s);o.useChunkedEncodingByDefault=!1,o.once("response",c),o.once("upgrade",l),o.once("connect",u),o.once("error",a),o.end();function c(d){d.upgrade=!0}function l(d,h,N){process.nextTick(function(){u(d,h,N)})}function u(d,h,N){if(o.removeAllListeners(),h.removeAllListeners(),d.statusCode!==200){M("tunneling socket could not be established, statusCode=%d",d.statusCode),h.destroy();var j=new Error("tunneling socket could not be established, statusCode="+d.statusCode);j.code="ECONNRESET",t.request.emit("error",j),n.removeSocket(i);return}if(N.length>0){M("got illegal response body from proxy"),h.destroy();var j=new Error("got illegal response body from proxy");j.code="ECONNRESET",t.request.emit("error",j),n.removeSocket(i);return}return M("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}function a(d){o.removeAllListeners(),M(`tunneling socket could not be established, cause=%s -`,d.message,d.stack);var h=new Error("tunneling socket could not be established, cause="+d.message);h.code="ECONNRESET",t.request.emit("error",h),n.removeSocket(i)}};T.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 ft(e,t){var r=this;T.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),s=Oe({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),o=sn.connect(0,s);r.sockets[r.sockets.indexOf(n)]=o,t(o)})}function dt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function Oe(e){for(var t=1,r=arguments.length;t{pt.exports=ht()});var mt=_(p=>{"use strict";var dn=p&&p.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),hn=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ce=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&dn(t,e,r);return hn(t,e),t},m=p&&p.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.HttpClient=p.isHttps=p.HttpClientResponse=p.HttpClientError=p.getProxyUrl=p.MediaTypes=p.Headers=p.HttpCodes=void 0;var se=ce(v("http")),Re=ce(v("https")),vt=ce(ct()),oe=ce(_t()),q;(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"})(q=p.HttpCodes||(p.HttpCodes={}));var y;(function(e){e.Accept="accept",e.ContentType="content-type"})(y=p.Headers||(p.Headers={}));var U;(function(e){e.ApplicationJson="application/json"})(U=p.MediaTypes||(p.MediaTypes={}));function pn(e){let t=vt.getProxyUrl(new URL(e));return t?t.href:""}p.getProxyUrl=pn;var _n=[q.MovedPermanently,q.ResourceMoved,q.SeeOther,q.TemporaryRedirect,q.PermanentRedirect],vn=[q.BadGateway,q.ServiceUnavailable,q.GatewayTimeout],mn=["OPTIONS","GET","DELETE","HEAD"],gn=10,yn=5,L=class extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,L.prototype)}};p.HttpClientError=L;var ae=class{constructor(t){this.message=t}readBody(){return m(this,void 0,void 0,function*(){return new Promise(t=>m(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}};p.HttpClientResponse=ae;function wn(e){return new URL(e).protocol==="https:"}p.isHttps=wn;var Ee=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return m(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return m(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return m(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return m(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return m(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return m(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return m(this,void 0,void 0,function*(){r[y.Accept]=this._getExistingOrDefaultHeader(r,y.Accept,U.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,U.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,U.ApplicationJson);let s=yield this.post(t,i,n);return this._processResponse(s,this.requestOptions)})}putJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,U.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,U.ApplicationJson);let s=yield this.put(t,i,n);return this._processResponse(s,this.requestOptions)})}patchJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,U.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,U.ApplicationJson);let s=yield this.patch(t,i,n);return this._processResponse(s,this.requestOptions)})}request(t,r,n,i){return m(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),o=this._prepareRequest(t,s,i),c=this._allowRetries&&mn.includes(t)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(o,n),u&&u.message&&u.message.statusCode===q.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(u)){d=h;break}return d?d.handleAuthentication(this,o,n):u}let a=this._maxRedirects;for(;u.message.statusCode&&_n.includes(u.message.statusCode)&&this._allowRedirects&&a>0;){let d=u.message.headers.location;if(!d)break;let h=new URL(d);if(s.protocol==="https:"&&s.protocol!==h.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield u.readBody(),h.hostname!==s.hostname)for(let N in i)N.toLowerCase()==="authorization"&&delete i[N];o=this._prepareRequest(t,h,i),u=yield this.requestRaw(o,n),a--}if(!u.message.statusCode||!vn.includes(u.message.statusCode))return u;l+=1,l{function s(o,c){o?i(o):c?n(c):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,s)})})}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 s(l,u){i||(i=!0,n(l,u))}let o=t.httpModule.request(t.options,l=>{let u=new ae(l);s(void 0,u)}),c;o.on("socket",l=>{c=l}),o.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${t.options.path}`))}),o.on("error",function(l){s(l)}),r&&typeof r=="string"&&o.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){o.end()}),r.pipe(o)):o.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?Re:se;let o=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):o,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ue(this.requestOptions.headers),ue(t||{})):ue(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=ue(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=vt.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),this._keepAlive&&!i&&(r=this._agent),r)return r;let s=t.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||se.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?oe.httpsOverHttps:oe.httpsOverHttp:l=u?oe.httpOverHttps:oe.httpOverHttp,r=l(c),this._proxyAgent=r}if(this._keepAlive&&!r){let c={keepAlive:this._keepAlive,maxSockets:o};r=s?new Re.Agent(c):new se.Agent(c),this._agent=r}return r||(r=s?Re.globalAgent:se.globalAgent),s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return m(this,void 0,void 0,function*(){t=Math.min(gn,t);let r=yn*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return m(this,void 0,void 0,function*(){return new Promise((n,i)=>m(this,void 0,void 0,function*(){let s=t.message.statusCode||0,o={statusCode:s,result:null,headers:{}};s===q.NotFound&&n(o);function c(a,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}return d}let l,u;try{u=yield t.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),o.result=l),o.headers=t.message.headers}catch{}if(s>299){let a;l&&l.message?a=l.message:u&&u.length>0?a=u:a=`Failed request: (${s})`;let d=new L(a,s);d.result=o.result,i(d)}else n(o)}))})}};p.HttpClient=Ee;var ue=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var gt=_(S=>{"use strict";var Se=S&&S.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(S,"__esModule",{value:!0});S.PersonalAccessTokenCredentialHandler=S.BearerCredentialHandler=S.BasicCredentialHandler=void 0;var Pe=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 Se(this,void 0,void 0,function*(){throw new Error("not implemented")})}};S.BasicCredentialHandler=Pe;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 Se(this,void 0,void 0,function*(){throw new Error("not implemented")})}};S.BearerCredentialHandler=qe;var be=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 Se(this,void 0,void 0,function*(){throw new Error("not implemented")})}};S.PersonalAccessTokenCredentialHandler=be});var Ot=_($=>{"use strict";var yt=$&&$.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty($,"__esModule",{value:!0});$.OidcClient=void 0;var On=mt(),Rn=gt(),wt=Ae(),D=class{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new On.HttpClient("actions/oidc-client",[new Rn.BearerCredentialHandler(D.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 yt(this,void 0,void 0,function*(){let s=(r=(yield D.createHttpClient().getJson(t).catch(o=>{throw new Error(`Failed to get ID Token. +import{createRequire as __createRequire}from"node:module";const require=__createRequire(import.meta.url);var Ct=Object.create;var Ne=Object.defineProperty;var Bt=Object.getOwnPropertyDescriptor;var It=Object.getOwnPropertyNames;var Nt=Object.getPrototypeOf,kt=Object.prototype.hasOwnProperty;var v=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Lt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of It(t))!kt.call(e,i)&&i!==r&&Ne(e,i,{get:()=>t[i],enumerable:!(n=Bt(t,i))||n.enumerable});return e};var $t=(e,t,r)=>(r=e!=null?Ct(Nt(e)):{},Lt(t||!e||!e.__esModule?Ne(r,"default",{value:e,enumerable:!0}):r,e));var K=_(N=>{"use strict";Object.defineProperty(N,"__esModule",{value:!0});N.toCommandProperties=N.toCommandValue=void 0;function jt(e){return e==null?"":typeof e=="string"||e instanceof String?e:JSON.stringify(e)}N.toCommandValue=jt;function Ft(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}N.toCommandProperties=Ft});var je=_(R=>{"use strict";var Vt=R&&R.__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]}),Gt=R&&R.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Jt=R&&R.__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)&&Vt(t,e,r);return Gt(t,e),t};Object.defineProperty(R,"__esModule",{value:!0});R.issue=R.issueCommand=void 0;var Kt=Jt(v("os")),Le=K();function $e(e,t,r){let n=new de(e,t,r);process.stdout.write(n.toString()+Kt.EOL)}R.issueCommand=$e;function zt(e,t=""){$e(e,{},t)}R.issue=zt;var ke="::",de=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}=${Wt(i)}`)}}return t+=`${ke}${Yt(this.message)}`,t}};function Yt(e){return Le.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function Wt(e){return Le.toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}});var pe=_(he=>{"use strict";Object.defineProperty(he,"__esModule",{value:!0});he.default=Xt;var Ht=Qt(v("crypto"));function Qt(e){return e&&e.__esModule?e:{default:e}}var Y=new Uint8Array(256),z=Y.length;function Xt(){return z>Y.length-16&&(Ht.default.randomFillSync(Y),z=0),Y.slice(z,z+=16)}});var Fe=_(W=>{"use strict";Object.defineProperty(W,"__esModule",{value:!0});W.default=void 0;var Zt=/^(?:[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;W.default=Zt});var G=_(H=>{"use strict";Object.defineProperty(H,"__esModule",{value:!0});H.default=void 0;var er=tr(Fe());function tr(e){return e&&e.__esModule?e:{default:e}}function rr(e){return typeof e=="string"&&er.default.test(e)}var nr=rr;H.default=nr});var J=_(Q=>{"use strict";Object.defineProperty(Q,"__esModule",{value:!0});Q.default=void 0;var ir=sr(G());function sr(e){return e&&e.__esModule?e:{default:e}}var g=[];for(let e=0;e<256;++e)g.push((e+256).toString(16).substr(1));function or(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(!(0,ir.default)(r))throw TypeError("Stringified UUID is invalid");return r}var ur=or;Q.default=ur});var Je=_(X=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});X.default=void 0;var ar=Ge(pe()),cr=Ge(J());function Ge(e){return e&&e.__esModule?e:{default:e}}var Ve,_e,ve=0,me=0;function lr(e,t,r){let n=t&&r||0,i=t||new Array(16);e=e||{};let s=e.node||Ve,o=e.clockseq!==void 0?e.clockseq:_e;if(s==null||o==null){let h=e.random||(e.rng||ar.default)();s==null&&(s=Ve=[h[0]|1,h[1],h[2],h[3],h[4],h[5]]),o==null&&(o=_e=(h[6]<<8|h[7])&16383)}let c=e.msecs!==void 0?e.msecs:Date.now(),l=e.nsecs!==void 0?e.nsecs:me+1,u=c-ve+(l-me)/1e4;if(u<0&&e.clockseq===void 0&&(o=o+1&16383),(u<0||c>ve)&&e.nsecs===void 0&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ve=c,me=l,_e=o,c+=122192928e5;let a=((c&268435455)*1e4+l)%4294967296;i[n++]=a>>>24&255,i[n++]=a>>>16&255,i[n++]=a>>>8&255,i[n++]=a&255;let d=c/4294967296*1e4&268435455;i[n++]=d>>>8&255,i[n++]=d&255,i[n++]=d>>>24&15|16,i[n++]=d>>>16&255,i[n++]=o>>>8|128,i[n++]=o&255;for(let h=0;h<6;++h)i[n+h]=s[h];return t||(0,cr.default)(i)}var fr=lr;X.default=fr});var ge=_(Z=>{"use strict";Object.defineProperty(Z,"__esModule",{value:!0});Z.default=void 0;var dr=hr(G());function hr(e){return e&&e.__esModule?e:{default:e}}function pr(e){if(!(0,dr.default)(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 _r=pr;Z.default=_r});var ye=_(C=>{"use strict";Object.defineProperty(C,"__esModule",{value:!0});C.default=yr;C.URL=C.DNS=void 0;var vr=Ke(J()),mr=Ke(ge());function Ke(e){return e&&e.__esModule?e:{default:e}}function gr(e){e=unescape(encodeURIComponent(e));let t=[];for(let r=0;r{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});ee.default=void 0;var wr=Or(v("crypto"));function Or(e){return e&&e.__esModule?e:{default:e}}function Rr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),wr.default.createHash("md5").update(e).digest()}var Pr=Rr;ee.default=Pr});var Qe=_(te=>{"use strict";Object.defineProperty(te,"__esModule",{value:!0});te.default=void 0;var Er=He(ye()),qr=He(We());function He(e){return e&&e.__esModule?e:{default:e}}var br=(0,Er.default)("v3",48,qr.default),Sr=br;te.default=Sr});var Ze=_(re=>{"use strict";Object.defineProperty(re,"__esModule",{value:!0});re.default=void 0;var Tr=Xe(pe()),Ar=Xe(J());function Xe(e){return e&&e.__esModule?e:{default:e}}function Mr(e,t,r){e=e||{};let n=e.random||(e.rng||Tr.default)();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(0,Ar.default)(n)}var xr=Mr;re.default=xr});var et=_(ne=>{"use strict";Object.defineProperty(ne,"__esModule",{value:!0});ne.default=void 0;var Ur=Dr(v("crypto"));function Dr(e){return e&&e.__esModule?e:{default:e}}function Cr(e){return Array.isArray(e)?e=Buffer.from(e):typeof e=="string"&&(e=Buffer.from(e,"utf8")),Ur.default.createHash("sha1").update(e).digest()}var Br=Cr;ne.default=Br});var rt=_(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.default=void 0;var Ir=tt(ye()),Nr=tt(et());function tt(e){return e&&e.__esModule?e:{default:e}}var kr=(0,Ir.default)("v5",80,Nr.default),Lr=kr;ie.default=Lr});var nt=_(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.default=void 0;var $r="00000000-0000-0000-0000-000000000000";se.default=$r});var it=_(oe=>{"use strict";Object.defineProperty(oe,"__esModule",{value:!0});oe.default=void 0;var jr=Fr(G());function Fr(e){return e&&e.__esModule?e:{default:e}}function Vr(e){if(!(0,jr.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}var Gr=Vr;oe.default=Gr});var st=_(q=>{"use strict";Object.defineProperty(q,"__esModule",{value:!0});Object.defineProperty(q,"v1",{enumerable:!0,get:function(){return Jr.default}});Object.defineProperty(q,"v3",{enumerable:!0,get:function(){return Kr.default}});Object.defineProperty(q,"v4",{enumerable:!0,get:function(){return zr.default}});Object.defineProperty(q,"v5",{enumerable:!0,get:function(){return Yr.default}});Object.defineProperty(q,"NIL",{enumerable:!0,get:function(){return Wr.default}});Object.defineProperty(q,"version",{enumerable:!0,get:function(){return Hr.default}});Object.defineProperty(q,"validate",{enumerable:!0,get:function(){return Qr.default}});Object.defineProperty(q,"stringify",{enumerable:!0,get:function(){return Xr.default}});Object.defineProperty(q,"parse",{enumerable:!0,get:function(){return Zr.default}});var Jr=T(Je()),Kr=T(Qe()),zr=T(Ze()),Yr=T(rt()),Wr=T(nt()),Hr=T(it()),Qr=T(G()),Xr=T(J()),Zr=T(ge());function T(e){return e&&e.__esModule?e:{default:e}}});var ct=_(P=>{"use strict";var en=P&&P.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),tn=P&&P.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),ut=P&&P.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&en(t,e,r);return tn(t,e),t};Object.defineProperty(P,"__esModule",{value:!0});P.prepareKeyValueMessage=P.issueFileCommand=void 0;var ot=ut(v("fs")),we=ut(v("os")),rn=st(),at=K();function nn(e,t){let r=process.env[`GITHUB_${e}`];if(!r)throw new Error(`Unable to find environment variable for file command ${e}`);if(!ot.existsSync(r))throw new Error(`Missing file at path: ${r}`);ot.appendFileSync(r,`${at.toCommandValue(t)}${we.EOL}`,{encoding:"utf8"})}P.issueFileCommand=nn;function sn(e,t){let r=`ghadelimiter_${rn.v4()}`,n=at.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}${we.EOL}${n}${we.EOL}${r}`}P.prepareKeyValueMessage=sn});var ft=_(k=>{"use strict";Object.defineProperty(k,"__esModule",{value:!0});k.checkBypass=k.getProxyUrl=void 0;function on(e){let t=e.protocol==="https:";if(lt(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)}k.getProxyUrl=on;function lt(e){if(!e.hostname)return!1;let t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=Number(e.port):e.protocol==="http:"?r=80:e.protocol==="https:"&&(r=443);let n=[e.hostname.toUpperCase()];typeof r=="number"&&n.push(`${n[0]}:${r}`);for(let i of t.split(",").map(s=>s.trim().toUpperCase()).filter(s=>s))if(n.some(s=>s===i))return!0;return!1}k.checkBypass=lt});var _t=_(L=>{"use strict";var Si=v("net"),un=v("tls"),Oe=v("http"),dt=v("https"),an=v("events"),Ti=v("assert"),cn=v("util");L.httpOverHttp=ln;L.httpsOverHttp=fn;L.httpOverHttps=dn;L.httpsOverHttps=hn;function ln(e){var t=new A(e);return t.request=Oe.request,t}function fn(e){var t=new A(e);return t.request=Oe.request,t.createSocket=ht,t.defaultPort=443,t}function dn(e){var t=new A(e);return t.request=dt.request,t}function hn(e){var t=new A(e);return t.request=dt.request,t.createSocket=ht,t.defaultPort=443,t}function A(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||Oe.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",function(n,i,s,o){for(var c=pt(i,s,o),l=0,u=t.requests.length;l=this.maxSockets){s.requests.push(o);return}s.createSocket(o,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),t.onSocket(c);function l(){s.emit("free",c,o)}function u(a){s.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}})};A.prototype.createSocket=function(t,r){var n=this,i={};n.sockets.push(i);var s=Re({},n.proxyOptions,{method:"CONNECT",path:t.host+":"+t.port,agent:!1,headers:{host:t.host+":"+t.port}});t.localAddress&&(s.localAddress=t.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),x("making CONNECT request");var o=n.request(s);o.useChunkedEncodingByDefault=!1,o.once("response",c),o.once("upgrade",l),o.once("connect",u),o.once("error",a),o.end();function c(d){d.upgrade=!0}function l(d,h,I){process.nextTick(function(){u(d,h,I)})}function u(d,h,I){if(o.removeAllListeners(),h.removeAllListeners(),d.statusCode!==200){x("tunneling socket could not be established, statusCode=%d",d.statusCode),h.destroy();var V=new Error("tunneling socket could not be established, statusCode="+d.statusCode);V.code="ECONNRESET",t.request.emit("error",V),n.removeSocket(i);return}if(I.length>0){x("got illegal response body from proxy"),h.destroy();var V=new Error("got illegal response body from proxy");V.code="ECONNRESET",t.request.emit("error",V),n.removeSocket(i);return}return x("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=h,r(h)}function a(d){o.removeAllListeners(),x(`tunneling socket could not be established, cause=%s +`,d.message,d.stack);var h=new Error("tunneling socket could not be established, cause="+d.message);h.code="ECONNRESET",t.request.emit("error",h),n.removeSocket(i)}};A.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 ht(e,t){var r=this;A.prototype.createSocket.call(r,e,function(n){var i=e.request.getHeader("host"),s=Re({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),o=un.connect(0,s);r.sockets[r.sockets.indexOf(n)]=o,t(o)})}function pt(e,t,r){return typeof e=="string"?{host:e,port:t,localAddress:r}:e}function Re(e){for(var t=1,r=arguments.length;t{vt.exports=_t()});var yt=_(p=>{"use strict";var pn=p&&p.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),_n=p&&p.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),fe=p&&p.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&pn(t,e,r);return _n(t,e),t},m=p&&p.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(p,"__esModule",{value:!0});p.HttpClient=p.isHttps=p.HttpClientResponse=p.HttpClientError=p.getProxyUrl=p.MediaTypes=p.Headers=p.HttpCodes=void 0;var ue=fe(v("http")),Pe=fe(v("https")),gt=fe(ft()),ae=fe(mt()),b;(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"})(b=p.HttpCodes||(p.HttpCodes={}));var y;(function(e){e.Accept="accept",e.ContentType="content-type"})(y=p.Headers||(p.Headers={}));var U;(function(e){e.ApplicationJson="application/json"})(U=p.MediaTypes||(p.MediaTypes={}));function vn(e){let t=gt.getProxyUrl(new URL(e));return t?t.href:""}p.getProxyUrl=vn;var mn=[b.MovedPermanently,b.ResourceMoved,b.SeeOther,b.TemporaryRedirect,b.PermanentRedirect],gn=[b.BadGateway,b.ServiceUnavailable,b.GatewayTimeout],yn=["OPTIONS","GET","DELETE","HEAD"],wn=10,On=5,$=class extends Error{constructor(t,r){super(t),this.name="HttpClientError",this.statusCode=r,Object.setPrototypeOf(this,$.prototype)}};p.HttpClientError=$;var le=class{constructor(t){this.message=t}readBody(){return m(this,void 0,void 0,function*(){return new Promise(t=>m(this,void 0,void 0,function*(){let r=Buffer.alloc(0);this.message.on("data",n=>{r=Buffer.concat([r,n])}),this.message.on("end",()=>{t(r.toString())})}))})}};p.HttpClientResponse=le;function Rn(e){return new URL(e).protocol==="https:"}p.isHttps=Rn;var Ee=class{constructor(t,r,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=t,this.handlers=r||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(t,r){return m(this,void 0,void 0,function*(){return this.request("OPTIONS",t,null,r||{})})}get(t,r){return m(this,void 0,void 0,function*(){return this.request("GET",t,null,r||{})})}del(t,r){return m(this,void 0,void 0,function*(){return this.request("DELETE",t,null,r||{})})}post(t,r,n){return m(this,void 0,void 0,function*(){return this.request("POST",t,r,n||{})})}patch(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PATCH",t,r,n||{})})}put(t,r,n){return m(this,void 0,void 0,function*(){return this.request("PUT",t,r,n||{})})}head(t,r){return m(this,void 0,void 0,function*(){return this.request("HEAD",t,null,r||{})})}sendStream(t,r,n,i){return m(this,void 0,void 0,function*(){return this.request(t,r,n,i)})}getJson(t,r={}){return m(this,void 0,void 0,function*(){r[y.Accept]=this._getExistingOrDefaultHeader(r,y.Accept,U.ApplicationJson);let n=yield this.get(t,r);return this._processResponse(n,this.requestOptions)})}postJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,U.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,U.ApplicationJson);let s=yield this.post(t,i,n);return this._processResponse(s,this.requestOptions)})}putJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,U.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,U.ApplicationJson);let s=yield this.put(t,i,n);return this._processResponse(s,this.requestOptions)})}patchJson(t,r,n={}){return m(this,void 0,void 0,function*(){let i=JSON.stringify(r,null,2);n[y.Accept]=this._getExistingOrDefaultHeader(n,y.Accept,U.ApplicationJson),n[y.ContentType]=this._getExistingOrDefaultHeader(n,y.ContentType,U.ApplicationJson);let s=yield this.patch(t,i,n);return this._processResponse(s,this.requestOptions)})}request(t,r,n,i){return m(this,void 0,void 0,function*(){if(this._disposed)throw new Error("Client has already been disposed.");let s=new URL(r),o=this._prepareRequest(t,s,i),c=this._allowRetries&&yn.includes(t)?this._maxRetries+1:1,l=0,u;do{if(u=yield this.requestRaw(o,n),u&&u.message&&u.message.statusCode===b.Unauthorized){let d;for(let h of this.handlers)if(h.canHandleAuthentication(u)){d=h;break}return d?d.handleAuthentication(this,o,n):u}let a=this._maxRedirects;for(;u.message.statusCode&&mn.includes(u.message.statusCode)&&this._allowRedirects&&a>0;){let d=u.message.headers.location;if(!d)break;let h=new URL(d);if(s.protocol==="https:"&&s.protocol!==h.protocol&&!this._allowRedirectDowngrade)throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield u.readBody(),h.hostname!==s.hostname)for(let I in i)I.toLowerCase()==="authorization"&&delete i[I];o=this._prepareRequest(t,h,i),u=yield this.requestRaw(o,n),a--}if(!u.message.statusCode||!gn.includes(u.message.statusCode))return u;l+=1,l{function s(o,c){o?i(o):c?n(c):i(new Error("Unknown error"))}this.requestRawWithCallback(t,r,s)})})}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 s(l,u){i||(i=!0,n(l,u))}let o=t.httpModule.request(t.options,l=>{let u=new le(l);s(void 0,u)}),c;o.on("socket",l=>{c=l}),o.setTimeout(this._socketTimeout||3*6e4,()=>{c&&c.end(),s(new Error(`Request timeout: ${t.options.path}`))}),o.on("error",function(l){s(l)}),r&&typeof r=="string"&&o.write(r,"utf8"),r&&typeof r!="string"?(r.on("close",function(){o.end()}),r.pipe(o)):o.end()}getAgent(t){let r=new URL(t);return this._getAgent(r)}_prepareRequest(t,r,n){let i={};i.parsedUrl=r;let s=i.parsedUrl.protocol==="https:";i.httpModule=s?Pe:ue;let o=s?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):o,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=t,i.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(let c of this.handlers)c.prepareRequest(i.options);return i}_mergeHeaders(t){return this.requestOptions&&this.requestOptions.headers?Object.assign({},ce(this.requestOptions.headers),ce(t||{})):ce(t||{})}_getExistingOrDefaultHeader(t,r,n){let i;return this.requestOptions&&this.requestOptions.headers&&(i=ce(this.requestOptions.headers)[r]),t[r]||i||n}_getAgent(t){let r,n=gt.getProxyUrl(t),i=n&&n.hostname;if(this._keepAlive&&i&&(r=this._proxyAgent),this._keepAlive&&!i&&(r=this._agent),r)return r;let s=t.protocol==="https:",o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||ue.globalAgent.maxSockets),n&&n.hostname){let c={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},l,u=n.protocol==="https:";s?l=u?ae.httpsOverHttps:ae.httpsOverHttp:l=u?ae.httpOverHttps:ae.httpOverHttp,r=l(c),this._proxyAgent=r}if(this._keepAlive&&!r){let c={keepAlive:this._keepAlive,maxSockets:o};r=s?new Pe.Agent(c):new ue.Agent(c),this._agent=r}return r||(r=s?Pe.globalAgent:ue.globalAgent),s&&this._ignoreSslError&&(r.options=Object.assign(r.options||{},{rejectUnauthorized:!1})),r}_performExponentialBackoff(t){return m(this,void 0,void 0,function*(){t=Math.min(wn,t);let r=On*Math.pow(2,t);return new Promise(n=>setTimeout(()=>n(),r))})}_processResponse(t,r){return m(this,void 0,void 0,function*(){return new Promise((n,i)=>m(this,void 0,void 0,function*(){let s=t.message.statusCode||0,o={statusCode:s,result:null,headers:{}};s===b.NotFound&&n(o);function c(a,d){if(typeof d=="string"){let h=new Date(d);if(!isNaN(h.valueOf()))return h}return d}let l,u;try{u=yield t.readBody(),u&&u.length>0&&(r&&r.deserializeDates?l=JSON.parse(u,c):l=JSON.parse(u),o.result=l),o.headers=t.message.headers}catch{}if(s>299){let a;l&&l.message?a=l.message:u&&u.length>0?a=u:a=`Failed request: (${s})`;let d=new $(a,s);d.result=o.result,i(d)}else n(o)}))})}};p.HttpClient=Ee;var ce=e=>Object.keys(e).reduce((t,r)=>(t[r.toLowerCase()]=e[r],t),{})});var wt=_(S=>{"use strict";var Te=S&&S.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(S,"__esModule",{value:!0});S.PersonalAccessTokenCredentialHandler=S.BearerCredentialHandler=S.BasicCredentialHandler=void 0;var qe=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 Te(this,void 0,void 0,function*(){throw new Error("not implemented")})}};S.BasicCredentialHandler=qe;var be=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 Te(this,void 0,void 0,function*(){throw new Error("not implemented")})}};S.BearerCredentialHandler=be;var Se=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 Te(this,void 0,void 0,function*(){throw new Error("not implemented")})}};S.PersonalAccessTokenCredentialHandler=Se});var Pt=_(j=>{"use strict";var Ot=j&&j.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(j,"__esModule",{value:!0});j.OidcClient=void 0;var Pn=yt(),En=wt(),Rt=Ae(),D=class{static createHttpClient(t=!0,r=10){let n={allowRetries:t,maxRetries:r};return new Pn.HttpClient("actions/oidc-client",[new En.BearerCredentialHandler(D.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 s=(r=(yield D.createHttpClient().getJson(t).catch(o=>{throw new Error(`Failed to get ID Token. Error Code : ${o.statusCode} - Error Message: ${o.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(t){return yt(this,void 0,void 0,function*(){try{let r=D.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}wt.debug(`ID token url is ${r}`);let n=yield D.getCall(r);return wt.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};$.OidcClient=D});var Ue=_(w=>{"use strict";var Te=w&&w.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(w,"__esModule",{value:!0});w.summary=w.markdownSummary=w.SUMMARY_DOCS_URL=w.SUMMARY_ENV_VAR=void 0;var En=v("os"),xe=v("fs"),{access:Pn,appendFile:qn,writeFile:bn}=xe.promises;w.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";w.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Me=class{constructor(){this._buffer=""}filePath(){return Te(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[w.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${w.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield Pn(t,xe.constants.R_OK|xe.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(([s,o])=>` ${s}="${o}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return Te(this,void 0,void 0,function*(){let r=!!(t!=null&&t.overwrite),n=yield this.filePath();return yield(r?bn:qn)(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(o=>this.wrap("li",o)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(t){let r=t.map(i=>{let s=i.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:c,data:l,colspan:u,rowspan:a}=o,d=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),a&&{rowspan:a});return this.wrap(d,l,h)}).join("");return this.wrap("tr",s)}).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:s}=n||{},o=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:t,alt:r},o));return this.addRaw(c).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,t);return this.addRaw(s).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 Me;w.markdownSummary=Rt;w.summary=Rt});var Et=_(O=>{"use strict";var Sn=O&&O.__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]}),An=O&&O.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Tn=O&&O.__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)&&Sn(t,e,r);return An(t,e),t};Object.defineProperty(O,"__esModule",{value:!0});O.toPlatformPath=O.toWin32Path=O.toPosixPath=void 0;var xn=Tn(v("path"));function Mn(e){return e.replace(/[\\]/g,"/")}O.toPosixPath=Mn;function Un(e){return e.replace(/[/]/g,"\\")}O.toWin32Path=Un;function Dn(e){return e.replace(/[/\\]/g,xn.sep)}O.toPlatformPath=Dn});var Ae=_(f=>{"use strict";var Cn=f&&f.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Nn=f&&f.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),Pt=f&&f.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&Cn(t,e,r);return Nn(t,e),t},qt=f&&f.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(f,"__esModule",{value:!0});f.getIDToken=f.getState=f.saveState=f.group=f.endGroup=f.startGroup=f.info=f.notice=f.warning=f.error=f.debug=f.isDebug=f.setFailed=f.setCommandEcho=f.setOutput=f.getBooleanInput=f.getMultilineInput=f.getInput=f.addPath=f.setSecret=f.exportVariable=f.ExitCode=void 0;var E=$e(),bt=Ve(),fe=G(),le=Pt(v("os")),kn=Pt(v("path")),Bn=ut(),In=Ot(),St;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(St=f.ExitCode||(f.ExitCode={}));function Ln(e,t){let r=fe.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||""){let i=`ghadelimiter_${Bn.v4()}`;if(e.includes(i))throw new Error(`Unexpected input: name should not contain the delimiter "${i}"`);if(r.includes(i))throw new Error(`Unexpected input: value should not contain the delimiter "${i}"`);let s=`${e}<<${i}${le.EOL}${r}${le.EOL}${i}`;bt.issueCommand("ENV",s)}else E.issueCommand("set-env",{name:e},r)}f.exportVariable=Ln;function $n(e){E.issueCommand("add-mask",{},e)}f.setSecret=$n;function jn(e){process.env.GITHUB_PATH||""?bt.issueCommand("PATH",e):E.issueCommand("add-path",{},e),process.env.PATH=`${e}${kn.delimiter}${process.env.PATH}`}f.addPath=jn;function De(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}f.getInput=De;function Fn(e,t){return De(e,t).split(` -`).filter(n=>n!=="")}f.getMultilineInput=Fn;function Vn(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=De(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}f.getBooleanInput=Vn;function Gn(e,t){process.stdout.write(le.EOL),E.issueCommand("set-output",{name:e},t)}f.setOutput=Gn;function Jn(e){E.issue("echo",e?"on":"off")}f.setCommandEcho=Jn;function zn(e){process.exitCode=St.Failure,At(e)}f.setFailed=zn;function Kn(){return process.env.RUNNER_DEBUG==="1"}f.isDebug=Kn;function Yn(e){E.issueCommand("debug",{},e)}f.debug=Yn;function At(e,t={}){E.issueCommand("error",fe.toCommandProperties(t),e instanceof Error?e.toString():e)}f.error=At;function Wn(e,t={}){E.issueCommand("warning",fe.toCommandProperties(t),e instanceof Error?e.toString():e)}f.warning=Wn;function Hn(e,t={}){E.issueCommand("notice",fe.toCommandProperties(t),e instanceof Error?e.toString():e)}f.notice=Hn;function Qn(e){process.stdout.write(e+le.EOL)}f.info=Qn;function Tt(e){E.issue("group",e)}f.startGroup=Tt;function xt(){E.issue("endgroup")}f.endGroup=xt;function Xn(e,t){return qt(this,void 0,void 0,function*(){Tt(e);let r;try{r=yield t()}finally{xt()}return r})}f.group=Xn;function Zn(e,t){E.issueCommand("save-state",{name:e},t)}f.saveState=Zn;function ei(e){return process.env[`STATE_${e}`]||""}f.getState=ei;function ti(e){return qt(this,void 0,void 0,function*(){return yield In.OidcClient.getIDToken(e)})}f.getIDToken=ti;var ri=Ue();Object.defineProperty(f,"summary",{enumerable:!0,get:function(){return ri.summary}});var ni=Ue();Object.defineProperty(f,"markdownSummary",{enumerable:!0,get:function(){return ni.markdownSummary}});var Ce=Et();Object.defineProperty(f,"toPosixPath",{enumerable:!0,get:function(){return Ce.toPosixPath}});Object.defineProperty(f,"toWin32Path",{enumerable:!0,get:function(){return Ce.toWin32Path}});Object.defineProperty(f,"toPlatformPath",{enumerable:!0,get:function(){return Ce.toPlatformPath}})});var x=It(Ae(),1);var ii=({delimiter:e,target:t}={})=>{var r;return t===void 0||!t.trim()?"":(e!==void 0&&(t=t.split(e).pop()),t?((r=/([a-z]+)/.exec(t))==null?void 0:r[0].trim())??"":"")},Ne=ii;function si(){try{let e=(0,x.getInput)("delimiter")||void 0,t=(0,x.getInput)("target"),r=Ne({delimiter:e,target:t});(0,x.setOutput)("flag",r&&["--tag",r].join(" ").trim()),(0,x.setOutput)("prerelease",r!==""),(0,x.setOutput)("tag",r)}catch(e){(0,x.setFailed)(e)}}var Mt=si;Mt(); + Error Message: ${o.result.message}`)})).result)===null||r===void 0?void 0:r.value;if(!s)throw new Error("Response json body do not have ID Token field");return s})}static getIDToken(t){return Ot(this,void 0,void 0,function*(){try{let r=D.getIDTokenUrl();if(t){let i=encodeURIComponent(t);r=`${r}&audience=${i}`}Rt.debug(`ID token url is ${r}`);let n=yield D.getCall(r);return Rt.setSecret(n),n}catch(r){throw new Error(`Error message: ${r.message}`)}})}};j.OidcClient=D});var De=_(w=>{"use strict";var Me=w&&w.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(w,"__esModule",{value:!0});w.summary=w.markdownSummary=w.SUMMARY_DOCS_URL=w.SUMMARY_ENV_VAR=void 0;var qn=v("os"),xe=v("fs"),{access:bn,appendFile:Sn,writeFile:Tn}=xe.promises;w.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";w.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";var Ue=class{constructor(){this._buffer=""}filePath(){return Me(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let t=process.env[w.SUMMARY_ENV_VAR];if(!t)throw new Error(`Unable to find environment variable for $${w.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield bn(t,xe.constants.R_OK|xe.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(([s,o])=>` ${s}="${o}"`).join("");return r?`<${t}${i}>${r}`:`<${t}${i}>`}write(t){return Me(this,void 0,void 0,function*(){let r=!!(t!=null&&t.overwrite),n=yield this.filePath();return yield(r?Tn:Sn)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Me(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(qn.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(o=>this.wrap("li",o)).join(""),s=this.wrap(n,i);return this.addRaw(s).addEOL()}addTable(t){let r=t.map(i=>{let s=i.map(o=>{if(typeof o=="string")return this.wrap("td",o);let{header:c,data:l,colspan:u,rowspan:a}=o,d=c?"th":"td",h=Object.assign(Object.assign({},u&&{colspan:u}),a&&{rowspan:a});return this.wrap(d,l,h)}).join("");return this.wrap("tr",s)}).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:s}=n||{},o=Object.assign(Object.assign({},i&&{width:i}),s&&{height:s}),c=this.wrap("img",null,Object.assign({src:t,alt:r},o));return this.addRaw(c).addEOL()}addHeading(t,r){let n=`h${r}`,i=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",s=this.wrap(i,t);return this.addRaw(s).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()}},Et=new Ue;w.markdownSummary=Et;w.summary=Et});var qt=_(O=>{"use strict";var An=O&&O.__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]}),Mn=O&&O.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),xn=O&&O.__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)&&An(t,e,r);return Mn(t,e),t};Object.defineProperty(O,"__esModule",{value:!0});O.toPlatformPath=O.toWin32Path=O.toPosixPath=void 0;var Un=xn(v("path"));function Dn(e){return e.replace(/[\\]/g,"/")}O.toPosixPath=Dn;function Cn(e){return e.replace(/[/]/g,"\\")}O.toWin32Path=Cn;function Bn(e){return e.replace(/[/\\]/g,Un.sep)}O.toPlatformPath=Bn});var Ae=_(f=>{"use strict";var In=f&&f.__createBinding||(Object.create?function(e,t,r,n){n===void 0&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}),Nn=f&&f.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),bt=f&&f.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.hasOwnProperty.call(e,r)&&In(t,e,r);return Nn(t,e),t},St=f&&f.__awaiter||function(e,t,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function c(a){try{u(n.next(a))}catch(d){o(d)}}function l(a){try{u(n.throw(a))}catch(d){o(d)}}function u(a){a.done?s(a.value):i(a.value).then(c,l)}u((n=n.apply(e,t||[])).next())})};Object.defineProperty(f,"__esModule",{value:!0});f.getIDToken=f.getState=f.saveState=f.group=f.endGroup=f.startGroup=f.info=f.notice=f.warning=f.error=f.debug=f.isDebug=f.setFailed=f.setCommandEcho=f.setOutput=f.getBooleanInput=f.getMultilineInput=f.getInput=f.addPath=f.setSecret=f.exportVariable=f.ExitCode=void 0;var E=je(),B=ct(),F=K(),Tt=bt(v("os")),kn=bt(v("path")),Ln=Pt(),At;(function(e){e[e.Success=0]="Success",e[e.Failure=1]="Failure"})(At=f.ExitCode||(f.ExitCode={}));function $n(e,t){let r=F.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV||"")return B.issueFileCommand("ENV",B.prepareKeyValueMessage(e,t));E.issueCommand("set-env",{name:e},r)}f.exportVariable=$n;function jn(e){E.issueCommand("add-mask",{},e)}f.setSecret=jn;function Fn(e){process.env.GITHUB_PATH||""?B.issueFileCommand("PATH",e):E.issueCommand("add-path",{},e),process.env.PATH=`${e}${kn.delimiter}${process.env.PATH}`}f.addPath=Fn;function Ce(e,t){let r=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(t&&t.required&&!r)throw new Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?r:r.trim()}f.getInput=Ce;function Vn(e,t){let r=Ce(e,t).split(` +`).filter(n=>n!=="");return t&&t.trimWhitespace===!1?r:r.map(n=>n.trim())}f.getMultilineInput=Vn;function Gn(e,t){let r=["true","True","TRUE"],n=["false","False","FALSE"],i=Ce(e,t);if(r.includes(i))return!0;if(n.includes(i))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e} +Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}f.getBooleanInput=Gn;function Jn(e,t){if(process.env.GITHUB_OUTPUT||"")return B.issueFileCommand("OUTPUT",B.prepareKeyValueMessage(e,t));process.stdout.write(Tt.EOL),E.issueCommand("set-output",{name:e},F.toCommandValue(t))}f.setOutput=Jn;function Kn(e){E.issue("echo",e?"on":"off")}f.setCommandEcho=Kn;function zn(e){process.exitCode=At.Failure,Mt(e)}f.setFailed=zn;function Yn(){return process.env.RUNNER_DEBUG==="1"}f.isDebug=Yn;function Wn(e){E.issueCommand("debug",{},e)}f.debug=Wn;function Mt(e,t={}){E.issueCommand("error",F.toCommandProperties(t),e instanceof Error?e.toString():e)}f.error=Mt;function Hn(e,t={}){E.issueCommand("warning",F.toCommandProperties(t),e instanceof Error?e.toString():e)}f.warning=Hn;function Qn(e,t={}){E.issueCommand("notice",F.toCommandProperties(t),e instanceof Error?e.toString():e)}f.notice=Qn;function Xn(e){process.stdout.write(e+Tt.EOL)}f.info=Xn;function xt(e){E.issue("group",e)}f.startGroup=xt;function Ut(){E.issue("endgroup")}f.endGroup=Ut;function Zn(e,t){return St(this,void 0,void 0,function*(){xt(e);let r;try{r=yield t()}finally{Ut()}return r})}f.group=Zn;function ei(e,t){if(process.env.GITHUB_STATE||"")return B.issueFileCommand("STATE",B.prepareKeyValueMessage(e,t));E.issueCommand("save-state",{name:e},F.toCommandValue(t))}f.saveState=ei;function ti(e){return process.env[`STATE_${e}`]||""}f.getState=ti;function ri(e){return St(this,void 0,void 0,function*(){return yield Ln.OidcClient.getIDToken(e)})}f.getIDToken=ri;var ni=De();Object.defineProperty(f,"summary",{enumerable:!0,get:function(){return ni.summary}});var ii=De();Object.defineProperty(f,"markdownSummary",{enumerable:!0,get:function(){return ii.markdownSummary}});var Be=qt();Object.defineProperty(f,"toPosixPath",{enumerable:!0,get:function(){return Be.toPosixPath}});Object.defineProperty(f,"toWin32Path",{enumerable:!0,get:function(){return Be.toWin32Path}});Object.defineProperty(f,"toPlatformPath",{enumerable:!0,get:function(){return Be.toPlatformPath}})});var M=$t(Ae(),1);var si=({delimiter:e,target:t}={})=>{var r;return t===void 0||!t.trim()?"":(e!==void 0&&(t=t.split(e).pop()),t?((r=/([a-z]+)/.exec(t))==null?void 0:r[0].trim())??"":"")},Ie=si;function oi(){try{let e=(0,M.getInput)("delimiter")||void 0,t=(0,M.getInput)("target"),r=Ie({delimiter:e,target:t});(0,M.setOutput)("flag",r&&["--tag",r].join(" ").trim()),(0,M.setOutput)("prerelease",r!==""),(0,M.setOutput)("tag",r)}catch(e){(0,M.setFailed)(e)}}var Dt=oi;Dt(); diff --git a/package.json b/package.json index df7fdf5..339952e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@flex-development/dist-tag-action", "description": "Distribution tag lookup utility for GitHub Actions", - "version": "1.1.1", + "version": "1.1.2", "keywords": [ "dist-tag", "github-action",