[bot] Update dist directory

This commit is contained in:
bot-githubaction committed 2026-02-23 20:14:24 +00:00
1 parent fa3616072f
commit f7783ee9b0
8 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -359,7 +359,7 @@ globstar while`,e,d,r,h,g),this.matchOne(e.slice(d),r.slice(h),n))return this.de
`)),e.linkname&&(r+=YDe(" linkpath="+e.linkname+`
`));let n=e.pax;if(n)for(let s in n)r+=YDe(" "+s+"="+n[s]+`
`);return zr.from(r)};uT.decodePax=function(e){let r={};for(;e.length;){let n=0;for(;n<e.length&&e[n]!==32;)n++;let s=parseInt(zr.toString(e.subarray(0,n)),10);if(!s)return r;let i=zr.toString(e.subarray(n+1,s-1)),o=i.indexOf("=");if(o===-1)return r;r[i.slice(0,o)]=i.slice(o+1),e=e.subarray(s)}return r};uT.encode=function(e){let r=zr.alloc(512),n=e.name,s="";if(e.typeflag===5&&n[n.length-1]!=="/"&&(n+="/"),zr.byteLength(n)!==n.length)return null;for(;zr.byteLength(n)>100;){let i=n.indexOf("/");if(i===-1)return null;s+=s?"/"+n.slice(0,i):n.slice(0,i),n=n.slice(i+1)}return zr.byteLength(n)>100||zr.byteLength(s)>155||e.linkname&&zr.byteLength(e.linkname)>100?null:(zr.write(r,n),zr.write(r,FI(e.mode&R0n,6),100),zr.write(r,FI(e.uid,6),108),zr.write(r,FI(e.gid,6),116),v0n(e.size,r,124),zr.write(r,FI(e.mtime.getTime()/1e3|0,11),136),r[156]=BK+F0n(e.type),e.linkname&&zr.write(r,e.linkname,157),zr.copy(kkt,r,iP),zr.copy(w0n,r,JDe),e.uname&&zr.write(r,e.uname,265),e.gname&&zr.write(r,e.gname,297),zr.write(r,FI(e.devmajor||0,6),329),zr.write(r,FI(e.devminor||0,6),337),s&&zr.write(r,s,345),zr.write(r,FI(Mkt(r),6),148),r)};uT.decode=function(e,r,n){let s=e[156]===0?0:e[156]-BK,i=cT(e,0,100,r),o=kI(e,100,8),a=kI(e,108,8),A=kI(e,116,8),c=kI(e,124,12),u=kI(e,136,12),l=k0n(s),d=e[157]===0?null:cT(e,157,100,r),h=cT(e,265,32),g=cT(e,297,32),p=kI(e,329,8),C=kI(e,337,8),m=Mkt(e);if(m===256)return null;if(m!==kI(e,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(D0n(e))e[345]&&(i=cT(e,345,155,r)+"/"+i);else if(!x0n(e)){if(!n)throw new Error("Invalid tar header: unknown format.")}return s===0&&i&&i[i.length-1]==="/"&&(s=5),{name:i,mode:o,uid:a,gid:A,size:c,mtime:new Date(1e3*u),type:l,linkname:d,uname:h,gname:g,devmajor:p,devminor:C,pax:null}};function D0n(t){return zr.equals(kkt,t.subarray(iP,iP+6))}function x0n(t){return zr.equals(N0n,t.subarray(iP,iP+6))&&zr.equals(S0n,t.subarray(JDe,JDe+2))}function T0n(t,e,r){return typeof t!="number"?r:(t=~~t,t>=e?e:t>=0||(t+=e,t>=0)?t:0)}function k0n(t){switch(t){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function F0n(t){switch(t){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function Fkt(t,e,r,n){for(;r<n;r++)if(t[r]===e)return r;return n}function Mkt(t){let e=256;for(let r=0;r<148;r++)e+=t[r];for(let r=156;r<512;r++)e+=t[r];return e}function FI(t,e){return t=t.toString(8),t.length>e?b0n.slice(0,e)+" ":y0n.slice(0,e-t.length)+t+" "}function M0n(t,e,r){e[r]=128;for(let n=11;n>0;n--)e[r+n]=t&255,t=Math.floor(t/256)}function v0n(t,e,r){t.toString(8).length>11?M0n(t,e,r):zr.write(e,FI(t,11),r)}function L0n(t){let e;if(t[0]===128)e=!0;else if(t[0]===255)e=!1;else return null;let r=[],n;for(n=t.length-1;n>0;n--){let o=t[n];e?r.push(o):r.push(255-o)}let s=0,i=r.length;for(n=0;n<i;n++)s+=r[n]*Math.pow(256,n);return e?s:-1*s}function kI(t,e,r){if(t=t.subarray(e,e+r),e=0,t[e]&128)return L0n(t);{for(;e<t.length&&t[e]===32;)e++;let n=T0n(Fkt(t,32,e,t.length),t.length,t.length);for(;e<n&&t[e]===0;)e++;return n===e?0:parseInt(zr.toString(t.subarray(e,n)),8)}}function cT(t,e,r,n){return zr.toString(t.subarray(e,Fkt(t,0,e,e+r)),n)}function YDe(t){let e=zr.byteLength(t),r=Math.floor(Math.log(e)/Math.log(10))+1;return e+r>=Math.pow(10,r)&&r++,e+r+t}});var _kt=f((Dos,Pkt)=>{var{Writable:U0n,Readable:P0n,getStreamError:vkt}=GDe(),_0n=RDe(),Lkt=sT(),lT=VDe(),O0n=Lkt.alloc(0),zDe=class{constructor(){this.buffered=0,this.shifted=0,this.queue=new _0n,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return this._buffered===0?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(e===0)return O0n;let r=this._next(e);if(e===r.byteLength)return r;let n=[r];for(;(e-=r.byteLength)>0;)r=this._next(e),n.push(r);return Lkt.concat(n)}_next(e){let r=this.queue.peek(),n=r.byteLength-this._offset;if(e>=n){let s=this._offset?r.subarray(this._offset,r.byteLength):r;return this.queue.shift(),this._offset=0,this.buffered-=n,this.shifted+=n,s}return this.buffered-=e,this.shifted+=e,r.subarray(this._offset,this._offset+=e)}},jDe=class extends P0n{constructor(e,r,n){super(),this.header=r,this.offset=n,this._parent=e}_read(e){this.header.size===0&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(vkt(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=Ukt(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}},KDe=class extends U Line truncated
`).filter(n=>n!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}function vO(t){process.exitCode=pee.Failure,LO(t)}function yB(){return process.env.RUNNER_DEBUG==="1"}function _e(t){Ff("debug",{},t)}function LO(t,e={}){Ff("error",xP(e),t instanceof Error?t.toString():t)}function tr(t,e={}){Ff("warning",xP(e),t instanceof Error?t.toString():t)}function UUe(t,e={}){Ff("notice",xP(e),t instanceof Error?t.toString():t)}function pe(t){process.stdout.write(t+LUe.EOL)}function VYt(t){LK("group",t)}function WYt(){LK("endgroup")}function iE(t,e){return JYt(this,void 0,void 0,function*(){VYt(t);let r;try{r=yield e()}finally{WYt()}return r})}function bB(t,e){if(process.env.GITHUB_STATE||"")return UK("STATE",PK(t,e));Ff("save-state",{name:t},kf(e))}function NA(t){return process.env[`STATE_${t}`]||""}var Rje=Xe(V2(),1),XIr="[Cache was enabled](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#caching-build-state-between-jobs). Action attempted to both restore and save the Gradle User Home.",ZIr="[Cache was read-only](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#using-the-cache-read-only). By default, the action will only write to the cache for Jobs running on the default branch.",$Ir="[Cache was disabled](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#disabling-caching) via action configuration. Gradle User Home was not restored from or saved to the cache.",eBr="[Cache was set to write-only](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#using-the-cache-write-only) via action configuration. Gradle User Home was not restored from cache.";var Bje="[Cache cleanup](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup) is always disabled when cache is read-only or disabled.",tBr="[Cache cleanup](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup) was enabled. Stale files in Gradle User Home were purged before saving to the cache.",Qje="[Cache cleanup](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup) was disabled via action parameter. No cleanup of Gradle User Home was performed.",Dje="[Cache cleanup was disabled due to build failure](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup). Use `cache-cleanup: always` to override this behavior.",xje="[Cache cleanup was disabled due to configuration-cache reuse](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup). This is expected.",gY=class t{constructor(){this.cacheEntries=[];this.cacheReadOnly=!1;this.cacheWriteOnly=!1;this.cacheDisabled=!1;this.cacheStatusReason=XIr;this.cacheCleanupMessage=Qje}get fullyRestored(){return this.cacheEntries.every(e=>!e.wasRequestedButNotRestored())}get cacheStatus(){return Rje.isFeatureAvailable()?this.cacheDisabled?"disabled":this.cacheWriteOnly?"write-only":this.cacheReadOnly?"read-only":"enabled":"not available"}setReadOnly(e=ZIr){this.cacheReadOnly=!0,this.cacheStatusReason=e,this.cacheCleanupMessage=Bje}setDisabled(e=$Ir){this.cacheDisabled=!0,this.cacheStatusReason=e,this.cacheCleanupMessage=Bje}setWriteOnly(e=eBr){this.cacheWriteOnly=!0,this.cacheStatusReason=e}setCacheCleanupEnabled(){this.cacheCleanupMessage=tBr}setCacheCleanupDisabled(e=Qje){this.cacheCleanupMessage=e}entry(e){for(let n of this.cacheEntries)if(n.entryName===e)return n;let r=new fY(e);return this.cacheEntries.push(r),r}stringify(){return JSON.stringify(this)}static rehydrate(e){if(e==="")return new t;let r=Object.assign(new t,JSON.parse(e)),n=r.cacheEntries;for(let s=0;s<n.length;s++){let i=n[s];n[s]=Object.assign(new fY(i.entryName),i)}return r}},fY=class{constructor(e){this.entryName=e}wasRequestedButNotRestored(){return this.requestedKey!==void 0&&this.restoredKey===void 0}markRequested(e,r=[]){return this.requestedKey=e,this.requestedRestoreKeys=r,this}markRestored(e,r,n){return this.restoredKey=e,this.restoredSize=r,this.restoredTime=n,this}markNotRestored(e){return this.notRestored=e,this}markSaved(e,r,n){return this.savedKey=e,this.savedSize=r,this.savedTime=n,this}markAlreadyExists(e){return this.savedKey=e,this.savedSize=0,this}markNotSaved(e){return this.notSaved=e,this}};function Tje(t){let e=t.cacheEntries;return`
`).filter(n=>n!=="");return e&&e.trimWhitespace===!1?r:r.map(n=>n.trim())}function vO(t){process.exitCode=pee.Failure,LO(t)}function yB(){return process.env.RUNNER_DEBUG==="1"}function _e(t){Ff("debug",{},t)}function LO(t,e={}){Ff("error",xP(e),t instanceof Error?t.toString():t)}function tr(t,e={}){Ff("warning",xP(e),t instanceof Error?t.toString():t)}function UUe(t,e={}){Ff("notice",xP(e),t instanceof Error?t.toString():t)}function pe(t){process.stdout.write(t+LUe.EOL)}function VYt(t){LK("group",t)}function WYt(){LK("endgroup")}function iE(t,e){return JYt(this,void 0,void 0,function*(){VYt(t);let r;try{r=yield e()}finally{WYt()}return r})}function bB(t,e){if(process.env.GITHUB_STATE||"")return UK("STATE",PK(t,e));Ff("save-state",{name:t},kf(e))}function NA(t){return process.env[`STATE_${t}`]||""}var Rje=Xe(V2(),1),XIr="[Cache was enabled](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#caching-build-state-between-jobs). Action attempted to both restore and save the Gradle User Home.",ZIr="[Cache was read-only](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#using-the-cache-read-only). By default, the action will only write to the cache for Jobs running on the default branch.",$Ir="[Cache was disabled](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#disabling-caching). Gradle User Home was not restored from or saved to the cache.",eBr="[Cache was set to write-only](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#using-the-cache-write-only). Gradle User Home was not restored from cache.";var Bje="[Cache cleanup](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup) is always disabled when cache is read-only or disabled.",tBr="[Cache cleanup](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup) was enabled. Stale files in Gradle User Home were purged before saving to the cache.",Qje="[Cache cleanup](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup) was disabled via action parameter. No cleanup of Gradle User Home was performed.",Dje="[Cache cleanup was disabled due to build failure](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup). Use `cache-cleanup: always` to override this behavior.",xje="[Cache cleanup was disabled due to configuration-cache reuse](https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#configuring-cache-cleanup). This is expected.",gY=class t{constructor(){this.cacheEntries=[];this.cacheReadOnly=!1;this.cacheWriteOnly=!1;this.cacheDisabled=!1;this.cacheStatusReason=XIr;this.cacheCleanupMessage=Qje}get fullyRestored(){return this.cacheEntries.every(e=>!e.wasRequestedButNotRestored())}get cacheStatus(){return Rje.isFeatureAvailable()?this.cacheDisabled?"disabled":this.cacheWriteOnly?"write-only":this.cacheReadOnly?"read-only":"enabled":"not available"}setReadOnly(e=ZIr){this.cacheReadOnly=!0,this.cacheStatusReason=e,this.cacheCleanupMessage=Bje}setDisabled(e=$Ir){this.cacheDisabled=!0,this.cacheStatusReason=e,this.cacheCleanupMessage=Bje}setWriteOnly(e=eBr){this.cacheWriteOnly=!0,this.cacheStatusReason=e}setCacheCleanupEnabled(){this.cacheCleanupMessage=tBr}setCacheCleanupDisabled(e=Qje){this.cacheCleanupMessage=e}entry(e){for(let n of this.cacheEntries)if(n.entryName===e)return n;let r=new fY(e);return this.cacheEntries.push(r),r}stringify(){return JSON.stringify(this)}static rehydrate(e){if(e==="")return new t;let r=Object.assign(new t,JSON.parse(e)),n=r.cacheEntries;for(let s=0;s<n.length;s++){let i=n[s];n[s]=Object.assign(new fY(i.entryName),i)}return r}},fY=class{constructor(e){this.entryName=e}wasRequestedButNotRestored(){return this.requestedKey!==void 0&&this.restoredKey===void 0}markRequested(e,r=[]){return this.requestedKey=e,this.requestedRestoreKeys=r,this}markRestored(e,r,n){return this.restoredKey=e,this.restoredSize=r,this.restoredTime=n,this}markNotRestored(e){return this.notRestored=e,this}markSaved(e,r,n){return this.savedKey=e,this.savedSize=r,this.savedTime=n,this}markAlreadyExists(e){return this.savedKey=e,this.savedSize=0,this}markNotSaved(e){return this.notSaved=e,this}};function Tje(t){let e=t.cacheEntries;return`
<details>
<summary><h4>Caching for Gradle actions was ${t.cacheStatus} - expand for details</h4></summary>