mirror of
https://github.com/gradle/actions.git
synced 2026-10-16 19:57:12 +08:00
Update gradle-actions-caching library to v0.9.0 (#996)
## What's Changed > [!IMPORTANT] > **Cache invalidation:** The cache protocol version has been bumped to `v2`, invalidating all cache entries written by earlier releases. The first build after upgrading will not find existing caches and will repopulate them from scratch. ### Improvements * **Consistent cache-entry names in reports** — every extracted cache entry now has a single, unique name reported identically on both restore and save. Previously the restore report could show a raw glob pattern (e.g. `caches/modules-*/files-*/*/*/*/*/`) instead of a friendly name like `dependencies`. Bundled entries are named by artifact type, per-file entries by their Gradle-User-Home-relative path, and per-project entries by `project-<rootProjectName>`.
This commit is contained in:
1 parent
ee7ea9a078
commit
fd31018e51
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -1,2 +1,2 @@
|
||||
const a0_0x186cca=a0_0x3fae;(function(_0x19fbc1,_0xc9386e){const _0x154fda=a0_0x3fae,_0x9aa6cc=_0x19fbc1();while(!![]){try{const _0x30c0c0=parseInt(_0x154fda(0x930))/0x1+parseInt(_0x154fda(0x229))/0x2*(parseInt(_0x154fda(0x12e0))/0x3)+-parseInt(_0x154fda(0x72c))/0x4*(parseInt(_0x154fda(0xee5))/0x5)+-parseInt(_0x154fda(0x1219))/0x6+-parseInt(_0x154fda(0x593))/0x7+parseInt(_0x154fda(0x155a))/0x8*(-parseInt(_0x154fda(0xa2a))/0x9)+-parseInt(_0x154fda(0x17d5))/0xa*(-parseInt(_0x154fda(0x299))/0xb);if(_0x30c0c0===_0xc9386e)break;else _0x9aa6cc['push'](_0x9aa6cc['shift']());}catch(_0x365429){_0x9aa6cc['push'](_0x9aa6cc['shift']());}}}(a0_0xc33b,0xd3998));import*as a0_0x11ec7a from'os';import a0_0x407526,{EOL as a0_0x56c255}from'os';import*as a0_0x34a8db from'crypto';import*as a0_0x2465d1 from'fs';import a0_0x491e48,{promises,writeFileSync,existsSync,readFileSync}from'fs';import*as a0_0x12c453 from'path';import a0_0x5e2be1 from'path';import*as a0_0x1f93e4 from'http';import a0_0x3c0c86 from'http';import*as a0_0x40a420 from'https';import a0_0x20c5c3 from'https';import a0_0x48c06a from'net';import a0_0x1996ff from'tls';import*as a0_0x2c71f7 from'events';import a0_0x4d78b1,{EventEmitter}from'events';import a0_0x50eef2,{ok}from'assert';import*as a0_0x308e54 from'util';import a0_0x1ebf6b from'util';import a0_0x4d562a from'node:assert';import a0_0x5a0d2f from'node:net';import a0_0x2cc764 from'node:http';import a0_0xcd5e5c,{Transform,Readable as a0_0x41473a}from'node:stream';import a0_0x59b96b from'node:buffer';import a0_0x8886a9,{inspect}from'node:util';import a0_0x8fcf40 from'node:querystring';import a0_0x31458d from'node:events';import a0_0x4df72a from'node:diagnostics_channel';import a0_0x3c3aac from'node:tls';import a0_0x494a47 from'node:zlib';import a0_0x3adee7 from'node:perf_hooks';import a0_0x1333f4 from'node:util/types';import a0_0x4472d5 from'node:worker_threads';import a0_0x50823d from'node:url';import a0_0x16867d from'node:async_hooks';import a0_0x144526 from'node:console';import a0_0x16684c from'node:dns';import a0_0x4de31d,{StringDecoder}from'string_decoder';import*as a0_0x2ec908 from'child_process';import{setTimeout as a0_0x126f3f}from'timers';import*as a0_0x147022 from'stream';import{Readable}from'stream';import a0_0x1aa9d6,{URL as a0_0xd3dd58}from'url';import*as a0_0x17b8de from'buffer';import{Buffer as a0_0x5e373b}from'buffer';import a0_0xb7e8e4,{EOL as a0_0x1d98d2}from'node:os';import a0_0x5e83dd from'node:process';import a0_0x50ac5f from'node:https';import a0_0x9250bc from'tty';import{createHmac}from'node:crypto';import a0_0x5cd1c4 from'node:fs';import*as a0_0x3d41e3 from'zlib';function toCommandValue(_0xd5d341){const _0x44c259=a0_0x3fae;if(_0xd5d341===null||_0xd5d341===undefined)return'';else{if(typeof _0xd5d341==='string'||_0xd5d341 instanceof String)return _0xd5d341;}return JSON[_0x44c259(0x1000)](_0xd5d341);}function toCommandProperties(_0x22d617){const _0x375bf3=a0_0x3fae;if(!Object[_0x375bf3(0x109d)](_0x22d617)['length'])return{};return{'title':_0x22d617['title'],'file':_0x22d617[_0x375bf3(0x1724)],'line':_0x22d617[_0x375bf3(0x380)],'endLine':_0x22d617[_0x375bf3(0x120b)],'col':_0x22d617[_0x375bf3(0x54e)],'endColumn':_0x22d617[_0x375bf3(0xfd9)]};}function issueCommand(_0x12d293,_0x173108,_0x485840){const _0x1d914b=a0_0x3fae,_0x2ee01f=new Command(_0x12d293,_0x173108,_0x485840);process[_0x1d914b(0xbfb)]['write'](_0x2ee01f[_0x1d914b(0x10e3)]()+a0_0x11ec7a[_0x1d914b(0x590)]);}function issue(_0x245c3f,_0x79e7e5=''){issueCommand(_0x245c3f,{},_0x79e7e5);}const CMD_STRING='::';class Command{constructor(_0x48f6d6,_0x7305f5,_0x3c0e45){const _0x2ad1e8=a0_0x3fae;!_0x48f6d6&&(_0x48f6d6=_0x2ad1e8(0x14da)),this[_0x2ad1e8(0xc1a)]=_0x48f6d6,this[_0x2ad1e8(0x939)]=_0x7305f5,this['message']=_0x3c0e45;}[a0_0x186cca(0x10e3)](){const _0x2f08ba=a0_0x186cca;let _0x4c39d3=CMD_STRING+this['command'];if(this[_0x2f08ba(0x939)]&&Object[_0x2f08ba(0x109d)](this[_0x2f08ba(0x939)])['length']>0x0){_0x4c39d3+='\x20';let _0x56bfcb=!![];for(const _0x2f0fca in this[_0x2f08ba(0x939)]){if(this[_0x2f08ba(0x939)][_0x2f08ba(0x15bb)](_0x2f0fca)){const _0x2e9006=this[_0x2f08ba(0x939)][_0x2f0fca];_0x2e9006&&(_0x56bfcb?_0x56bfcb=![]:_0x4c39d3+=',',_0x4c39d3+=_0x2f0fca+'='+escapeProperty(_0x2e9006));}}}return _0x4c39d3+=''+CMD_STRING+escapeData(this['message']),_0x4c39d3;}}function escapeData(_0x4ee5ea){const _0x36a447=a0_0x186cca;return toCommandValue(_0x4ee5ea)['replace'](/%/g,_0x36a447(0xf1c))[_0x36a447(0x99c)](/\r/g,_0x36a447(0xb85))['replace'](/\n/g,_0x36a447(0xfdd));}function escapeProperty(_0xa7a933){const _0xc50725=a0_0x186cca;return toCommandValue(_0xa7a933)['replace'](/%/g,_0xc50725(0xf1c))['replace'](/\r/g,_0xc50725(0xb85))[_0xc50725(0x99c)](/\n/g,_0xc50725(0xfdd))[_0xc50725(0x99c)](/:/g,_0xc50725(0x297))[_0xc50725(0x99c)](/,/g,_0xc50725(0xcb7));}function issueFileCommand(_0x226e10,_0x165256){const _0x5648fe=a0_0x186cca,_0x1f0d20=process.env[`GITHUB_${_0x226e10}`];if(!_0x1f0d20)throw new Error(_0x5648fe(0xb1a)+_0x226e10);if(!a0_0x246Line truncated
|
||||
()=>new ArrayBuffer(0x0));}function isJSONResponse(_0x2c29cd){const _0x27cc66=a0_0x186cca;return _0x2c29cd['type']===_0x27cc66(0x859)||_0x2c29cd[_0x27cc66(0x888)]===_0x27cc66(0x678);}function toErrorMessage(_0x32ad24){const _0x12375e=a0_0x186cca;if(typeof _0x32ad24===_0x12375e(0x26f))return _0x32ad24;if(_0x32ad24 instanceof ArrayBuffer)return _0x12375e(0x34a);if(_0x12375e(0x5b1)in _0x32ad24){const _0x10abfb='documentation_url'in _0x32ad24?_0x12375e(0x606)+_0x32ad24[_0x12375e(0x22f)]:'';return Array[_0x12375e(0x977)](_0x32ad24['errors'])?_0x32ad24['message']+':\x20'+_0x32ad24[_0x12375e(0xbaa)][_0x12375e(0xc84)](_0x54de46=>JSON[_0x12375e(0x1000)](_0x54de46))[_0x12375e(0x103d)](',\x20')+_0x10abfb:''+_0x32ad24[_0x12375e(0x5b1)]+_0x10abfb;}return'Unknown\x20error:\x20'+JSON[_0x12375e(0x1000)](_0x32ad24);}function withDefaults$1(_0x1e4ec2,_0x5e40f2){const _0x2cab9d=a0_0x186cca,_0x387c5c=_0x1e4ec2[_0x2cab9d(0x1330)](_0x5e40f2),_0x52d82d=function(_0x4abee3,_0x40bd58){const _0x117e31=_0x2cab9d,_0x1bbc3c=_0x387c5c[_0x117e31(0x7b6)](_0x4abee3,_0x40bd58);if(!_0x1bbc3c['request']||!_0x1bbc3c[_0x117e31(0x1082)][_0x117e31(0x375)])return fetchWrapper(_0x387c5c[_0x117e31(0x16d8)](_0x1bbc3c));const _0x374dd0=(_0x269a13,_0x539118)=>{const _0xe691e7=_0x117e31;return fetchWrapper(_0x387c5c[_0xe691e7(0x16d8)](_0x387c5c['merge'](_0x269a13,_0x539118)));};return Object[_0x117e31(0x101f)](_0x374dd0,{'endpoint':_0x387c5c,'defaults':withDefaults$1['bind'](null,_0x387c5c)}),_0x1bbc3c[_0x117e31(0x1082)]['hook'](_0x374dd0,_0x1bbc3c);};return Object['assign'](_0x52d82d,{'endpoint':_0x387c5c,'defaults':withDefaults$1['bind'](null,_0x387c5c)});}var request=withDefaults$1(endpoint,defaults_default),VERSION$3='0.0.0-development';function _buildMessageForResponseErrors(_0x115109){const _0x4ad9c8=a0_0x186cca;return _0x4ad9c8(0x9cd)+_0x115109['errors'][_0x4ad9c8(0xc84)](_0x8c07c8=>_0x4ad9c8(0x606)+_0x8c07c8['message'])[_0x4ad9c8(0x103d)]('\x0a');}var GraphqlResponseError=class extends Error{constructor(_0x2913b1,_0x38afbc,_0x5f5667){const _0x28a3e2=a0_0x186cca;super(_buildMessageForResponseErrors(_0x5f5667)),this[_0x28a3e2(0x1082)]=_0x2913b1,this[_0x28a3e2(0x597)]=_0x38afbc,this[_0x28a3e2(0x9ca)]=_0x5f5667,this[_0x28a3e2(0xbaa)]=_0x5f5667[_0x28a3e2(0xbaa)],this[_0x28a3e2(0x1671)]=_0x5f5667[_0x28a3e2(0x1671)],Error[_0x28a3e2(0x92a)]&&Error[_0x28a3e2(0x92a)](this,this[_0x28a3e2(0x2a0)]);}['name']='GraphqlResponseError';[a0_0x186cca(0xbaa)];[a0_0x186cca(0x1671)];},NON_VARIABLE_OPTIONS=['method',a0_0x186cca(0x1465),'url',a0_0x186cca(0x597),a0_0x186cca(0x1082),'query',a0_0x186cca(0xa8f),a0_0x186cca(0xece)],FORBIDDEN_VARIABLE_OPTIONS=['query',a0_0x186cca(0x1738),'url'],GHES_V3_SUFFIX_REGEX=/\/api\/v3\/?$/;function graphql(_0x45f4d8,_0x38c4fe,_0x5e0c2b){const _0x246b98=a0_0x186cca;if(_0x5e0c2b){if(typeof _0x38c4fe===_0x246b98(0x26f)&&_0x246b98(0xad3)in _0x5e0c2b)return Promise['reject'](new Error(_0x246b98(0xc7c)));for(const _0x49ca4f in _0x5e0c2b){if(!FORBIDDEN_VARIABLE_OPTIONS['includes'](_0x49ca4f))continue;return Promise[_0x246b98(0x6b1)](new Error(_0x246b98(0x11d0)+_0x49ca4f+_0x246b98(0x30b)));}}const _0x37dc76=typeof _0x38c4fe===_0x246b98(0x26f)?Object[_0x246b98(0x101f)]({'query':_0x38c4fe},_0x5e0c2b):_0x38c4fe,_0x5a28e0=Object[_0x246b98(0x109d)](_0x37dc76)[_0x246b98(0x12d1)]((_0x505a8d,_0x496a13)=>{const _0x1683d1=_0x246b98;if(NON_VARIABLE_OPTIONS[_0x1683d1(0xa8c)](_0x496a13))return _0x505a8d[_0x496a13]=_0x37dc76[_0x496a13],_0x505a8d;return!_0x505a8d[_0x1683d1(0xe17)]&&(_0x505a8d[_0x1683d1(0xe17)]={}),_0x505a8d[_0x1683d1(0xe17)][_0x496a13]=_0x37dc76[_0x496a13],_0x505a8d;},{}),_0x4a73d6=_0x37dc76[_0x246b98(0x1465)]||_0x45f4d8[_0x246b98(0x7c6)][_0x246b98(0x53a)]['baseUrl'];return GHES_V3_SUFFIX_REGEX[_0x246b98(0xd57)](_0x4a73d6)&&(_0x5a28e0[_0x246b98(0x153b)]=_0x4a73d6[_0x246b98(0x99c)](GHES_V3_SUFFIX_REGEX,_0x246b98(0x12fa))),_0x45f4d8(_0x5a28e0)[_0x246b98(0x1007)](_0x316342=>{const _0x5240bf=_0x246b98;if(_0x316342['data'][_0x5240bf(0xbaa)]){const _0x2f9cf0={};for(const _0x3b3f8d of Object[_0x5240bf(0x109d)](_0x316342[_0x5240bf(0x597)])){_0x2f9cf0[_0x3b3f8d]=_0x316342[_0x5240bf(0x597)][_0x3b3f8d];}throw new GraphqlResponseError(_0x5a28e0,_0x2f9cf0,_0x316342[_0x5240bf(0x1671)]);}return _0x316342[_0x5240bf(0x1671)][_0x5240bf(0x1671)];});}function withDefaults(_0x2b2640,_0x5cbc3a){const _0x4465ab=a0_0x186cca,_0x523dcb=_0x2b2640[_0x4465ab(0x1330)](_0x5cbc3a),_0x415f99=(_0x201a17,_0x4a2684)=>{return graphql(_0x523dcb,_0x201a17,_0x4a2684);};return Object[_0x4465ab(0x101f)](_0x415f99,{'defaults':withDefaults[_0x4465ab(0xc7e)](null,_0x523dcb),'endpoint':_0x523dcb[_0x4465ab(0x7c6)]});}withDefaults(request,{'headers':{'user-agent':a0_0x186cca(0x1833)+VERSION$3+'\x20'+getUserAgent()},'method':'POST','url':a0_0x186cca(0xc82)});function withCustomRequest(_0x3d7fc6){const _0x2d5221=a0_0x186cca;return withDefaults(_0x3d7fc6,{'method':_0x2d5221(0xc5a),'url':_0x2d5221(0xc82)});}var b64url=a0_0x186cca(0x85f),sep='\x5c.',jwtRE=new RegExp('^'+b64url+sep+b64url+sep+Line truncated
|
||||
const a0_0x4893e6=a0_0x26dc;(function(_0x39d65a,_0x28fee7){const _0x270f16=a0_0x26dc,_0x1e10bb=_0x39d65a();while(!![]){try{const _0x5600dd=-parseInt(_0x270f16(0x1e8))/0x1+-parseInt(_0x270f16(0xc7c))/0x2*(-parseInt(_0x270f16(0x12f1))/0x3)+-parseInt(_0x270f16(0xad5))/0x4*(parseInt(_0x270f16(0xd89))/0x5)+-parseInt(_0x270f16(0x145e))/0x6+-parseInt(_0x270f16(0x100e))/0x7*(parseInt(_0x270f16(0x63b))/0x8)+-parseInt(_0x270f16(0xfc5))/0x9*(-parseInt(_0x270f16(0xbcb))/0xa)+parseInt(_0x270f16(0xe1f))/0xb*(parseInt(_0x270f16(0x14e3))/0xc);if(_0x5600dd===_0x28fee7)break;else _0x1e10bb['push'](_0x1e10bb['shift']());}catch(_0x4f3f8e){_0x1e10bb['push'](_0x1e10bb['shift']());}}}(a0_0xf7aa,0x19649));import*as a0_0x400243 from'os';import a0_0x56e8ea,{EOL as a0_0x125a9d}from'os';import*as a0_0x3cf51d from'crypto';import*as a0_0x2b0b27 from'fs';import a0_0x263a2e,{promises,writeFileSync,existsSync,readFileSync}from'fs';import*as a0_0x3ed914 from'path';import a0_0x181991 from'path';import*as a0_0x4f61cc from'http';import a0_0x595130 from'http';import*as a0_0x304e5d from'https';import a0_0xb38c54 from'https';import a0_0x371d35 from'net';import a0_0xf05961 from'tls';import*as a0_0x13c265 from'events';import a0_0x2a0ad2,{EventEmitter}from'events';import a0_0x543274,{ok}from'assert';import*as a0_0x20dbfc from'util';import a0_0xcf4e58 from'util';import a0_0x37c539 from'node:assert';import a0_0x129983 from'node:net';import a0_0x8f3b76 from'node:http';import a0_0x16e0d1,{Transform,Readable as a0_0x3b497c}from'node:stream';import a0_0x642f7f from'node:buffer';import a0_0x372cdf,{inspect}from'node:util';import a0_0x5a62bb from'node:querystring';import a0_0x3a0a02 from'node:events';import a0_0x4c47db from'node:diagnostics_channel';import a0_0x5bad94 from'node:tls';import a0_0x4783cb from'node:zlib';import a0_0x3b5282 from'node:perf_hooks';import a0_0x41d05e from'node:util/types';import a0_0xa2f90f from'node:worker_threads';import a0_0x2e9e69 from'node:url';import a0_0x8b1715 from'node:async_hooks';import a0_0x25d12b from'node:console';import a0_0x52b425 from'node:dns';import a0_0x1b387e,{StringDecoder}from'string_decoder';import*as a0_0x1d63a8 from'child_process';import{setTimeout as a0_0x33f7d2}from'timers';import*as a0_0x354927 from'stream';import{Readable}from'stream';import a0_0x1a17a3,{URL as a0_0x2caf55}from'url';import*as a0_0x30c150 from'buffer';import{Buffer as a0_0x39263d}from'buffer';import a0_0x4aa0e9,{EOL as a0_0x4e57ed}from'node:os';import a0_0x556f37 from'node:process';import a0_0x280a62 from'node:https';import a0_0x1f2080 from'tty';import{createHmac}from'node:crypto';import a0_0x132b37 from'node:fs';import*as a0_0x548adb from'zlib';function toCommandValue(_0x1ac2ed){if(_0x1ac2ed===null||_0x1ac2ed===undefined)return'';else{if(typeof _0x1ac2ed==='string'||_0x1ac2ed instanceof String)return _0x1ac2ed;}return JSON['stringify'](_0x1ac2ed);}function toCommandProperties(_0x60a74e){const _0x409bed=a0_0x26dc;if(!Object[_0x409bed(0xa0e)](_0x60a74e)[_0x409bed(0x143)])return{};return{'title':_0x60a74e[_0x409bed(0xe3a)],'file':_0x60a74e[_0x409bed(0x7d5)],'line':_0x60a74e[_0x409bed(0x8b1)],'endLine':_0x60a74e['endLine'],'col':_0x60a74e[_0x409bed(0x1507)],'endColumn':_0x60a74e['endColumn']};}function issueCommand(_0xf8fd7b,_0x144996,_0x30c874){const _0x341cff=a0_0x26dc,_0x29b80e=new Command(_0xf8fd7b,_0x144996,_0x30c874);process[_0x341cff(0x111b)]['write'](_0x29b80e[_0x341cff(0x99d)]()+a0_0x400243[_0x341cff(0x1061)]);}function issue(_0x536952,_0x25e163=''){issueCommand(_0x536952,{},_0x25e163);}const CMD_STRING='::';class Command{constructor(_0x38e7d2,_0xf6b4ad,_0x572c5b){const _0xc6cfd=a0_0x26dc;!_0x38e7d2&&(_0x38e7d2='missing.command'),this[_0xc6cfd(0x2cb)]=_0x38e7d2,this['properties']=_0xf6b4ad,this['message']=_0x572c5b;}[a0_0x4893e6(0x99d)](){const _0x116d43=a0_0x4893e6;let _0x132af8=CMD_STRING+this[_0x116d43(0x2cb)];if(this[_0x116d43(0xf6e)]&&Object[_0x116d43(0xa0e)](this[_0x116d43(0xf6e)])[_0x116d43(0x143)]>0x0){_0x132af8+='\x20';let _0x1eb5b0=!![];for(const _0x16913a in this[_0x116d43(0xf6e)]){if(this['properties'][_0x116d43(0x9b8)](_0x16913a)){const _0x333181=this['properties'][_0x16913a];_0x333181&&(_0x1eb5b0?_0x1eb5b0=![]:_0x132af8+=',',_0x132af8+=_0x16913a+'='+escapeProperty(_0x333181));}}}return _0x132af8+=''+CMD_STRING+escapeData(this[_0x116d43(0x12d9)]),_0x132af8;}}function escapeData(_0x54ae29){const _0x3d1de3=a0_0x4893e6;return toCommandValue(_0x54ae29)[_0x3d1de3(0xbc4)](/%/g,'%25')['replace'](/\r/g,'%0D')[_0x3d1de3(0xbc4)](/\n/g,_0x3d1de3(0x161f));}function escapeProperty(_0x878f30){const _0x39ab91=a0_0x4893e6;return toCommandValue(_0x878f30)['replace'](/%/g,_0x39ab91(0x702))[_0x39ab91(0xbc4)](/\r/g,'%0D')[_0x39ab91(0xbc4)](/\n/g,_0x39ab91(0x161f))[_0x39ab91(0xbc4)](/:/g,'%3A')[_0x39ab91(0xbc4)](/,/g,_0x39ab91(0x770));}function issueFileCommand(_0x136732,_0x448716){const _0x48c14f=a0_0x4893e6,_0x3f4642=process.env[`GITHUB_${_0x136732}`];if(!_0x3f4642)throw new Error(_0x48c14f(0x10b2)+_0x136732);if(!a0_0x2b0b27[_0x48c14f(Line truncated
|
||||
()=>new ArrayBuffer(0x0));}function isJSONResponse(_0x2d08a8){const _0x26ba55=a0_0x4893e6;return _0x2d08a8[_0x26ba55(0x1316)]==='application/json'||_0x2d08a8[_0x26ba55(0x1316)]===_0x26ba55(0x10ea);}function toErrorMessage(_0x2eb94a){const _0x576b9e=a0_0x4893e6;if(typeof _0x2eb94a===_0x576b9e(0x1c4))return _0x2eb94a;if(_0x2eb94a instanceof ArrayBuffer)return _0x576b9e(0x62d);if(_0x576b9e(0x12d9)in _0x2eb94a){const _0x447ad9='documentation_url'in _0x2eb94a?'\x20-\x20'+_0x2eb94a[_0x576b9e(0x1053)]:'';return Array['isArray'](_0x2eb94a['errors'])?_0x2eb94a[_0x576b9e(0x12d9)]+':\x20'+_0x2eb94a[_0x576b9e(0xff3)][_0x576b9e(0x867)](_0x1a7881=>JSON[_0x576b9e(0x105c)](_0x1a7881))[_0x576b9e(0xc71)](',\x20')+_0x447ad9:''+_0x2eb94a['message']+_0x447ad9;}return _0x576b9e(0x78e)+JSON[_0x576b9e(0x105c)](_0x2eb94a);}function withDefaults$1(_0x1d2e50,_0x19b608){const _0x12c9c8=a0_0x4893e6,_0x173fd3=_0x1d2e50[_0x12c9c8(0xb62)](_0x19b608),_0x245229=function(_0x5859de,_0x1265ba){const _0x20fef8=_0x12c9c8,_0x2a25e7=_0x173fd3[_0x20fef8(0x739)](_0x5859de,_0x1265ba);if(!_0x2a25e7[_0x20fef8(0x1206)]||!_0x2a25e7[_0x20fef8(0x1206)][_0x20fef8(0x1368)])return fetchWrapper(_0x173fd3[_0x20fef8(0x173a)](_0x2a25e7));const _0x475648=(_0xc69cb5,_0x101148)=>{const _0xaaa589=_0x20fef8;return fetchWrapper(_0x173fd3[_0xaaa589(0x173a)](_0x173fd3[_0xaaa589(0x739)](_0xc69cb5,_0x101148)));};return Object[_0x20fef8(0x556)](_0x475648,{'endpoint':_0x173fd3,'defaults':withDefaults$1[_0x20fef8(0xc86)](null,_0x173fd3)}),_0x2a25e7[_0x20fef8(0x1206)][_0x20fef8(0x1368)](_0x475648,_0x2a25e7);};return Object[_0x12c9c8(0x556)](_0x245229,{'endpoint':_0x173fd3,'defaults':withDefaults$1[_0x12c9c8(0xc86)](null,_0x173fd3)});}var request=withDefaults$1(endpoint,defaults_default),VERSION$3=a0_0x4893e6(0x1782);function _buildMessageForResponseErrors(_0x495c07){const _0x16ebca=a0_0x4893e6;return'Request\x20failed\x20due\x20to\x20following\x20response\x20errors:\x0a'+_0x495c07[_0x16ebca(0xff3)][_0x16ebca(0x867)](_0x5a819e=>_0x16ebca(0x5db)+_0x5a819e['message'])[_0x16ebca(0xc71)]('\x0a');}var GraphqlResponseError=class extends Error{constructor(_0x3c0390,_0x35d662,_0x3694c6){const _0x371f05=a0_0x4893e6;super(_buildMessageForResponseErrors(_0x3694c6)),this[_0x371f05(0x1206)]=_0x3c0390,this[_0x371f05(0x68a)]=_0x35d662,this['response']=_0x3694c6,this[_0x371f05(0xff3)]=_0x3694c6[_0x371f05(0xff3)],this[_0x371f05(0xd76)]=_0x3694c6[_0x371f05(0xd76)],Error[_0x371f05(0xed3)]&&Error[_0x371f05(0xed3)](this,this[_0x371f05(0x61c)]);}[a0_0x4893e6(0x20e)]=a0_0x4893e6(0x14c5);[a0_0x4893e6(0xff3)];['data'];},NON_VARIABLE_OPTIONS=['method','baseUrl','url',a0_0x4893e6(0x68a),a0_0x4893e6(0x1206),a0_0x4893e6(0x132a),a0_0x4893e6(0x1210),'operationName'],FORBIDDEN_VARIABLE_OPTIONS=[a0_0x4893e6(0x132a),a0_0x4893e6(0x7ec),'url'],GHES_V3_SUFFIX_REGEX=/\/api\/v3\/?$/;function graphql(_0x5c4f0a,_0x59381c,_0x3c42e5){const _0x3b3d4c=a0_0x4893e6;if(_0x3c42e5){if(typeof _0x59381c===_0x3b3d4c(0x1c4)&&_0x3b3d4c(0x132a)in _0x3c42e5)return Promise[_0x3b3d4c(0x12a1)](new Error('[@octokit/graphql]\x20\x22query\x22\x20cannot\x20be\x20used\x20as\x20variable\x20name'));for(const _0x2b3534 in _0x3c42e5){if(!FORBIDDEN_VARIABLE_OPTIONS[_0x3b3d4c(0x545)](_0x2b3534))continue;return Promise[_0x3b3d4c(0x12a1)](new Error(_0x3b3d4c(0x466)+_0x2b3534+_0x3b3d4c(0x117e)));}}const _0x1ba4f6=typeof _0x59381c===_0x3b3d4c(0x1c4)?Object[_0x3b3d4c(0x556)]({'query':_0x59381c},_0x3c42e5):_0x59381c,_0x5daf98=Object[_0x3b3d4c(0xa0e)](_0x1ba4f6)[_0x3b3d4c(0x144d)]((_0x1beae3,_0x4deda8)=>{const _0x53474f=_0x3b3d4c;if(NON_VARIABLE_OPTIONS[_0x53474f(0x545)](_0x4deda8))return _0x1beae3[_0x4deda8]=_0x1ba4f6[_0x4deda8],_0x1beae3;return!_0x1beae3[_0x53474f(0x125e)]&&(_0x1beae3['variables']={}),_0x1beae3[_0x53474f(0x125e)][_0x4deda8]=_0x1ba4f6[_0x4deda8],_0x1beae3;},{}),_0x5abf16=_0x1ba4f6[_0x3b3d4c(0x641)]||_0x5c4f0a['endpoint'][_0x3b3d4c(0x156e)]['baseUrl'];return GHES_V3_SUFFIX_REGEX['test'](_0x5abf16)&&(_0x5daf98[_0x3b3d4c(0xa66)]=_0x5abf16[_0x3b3d4c(0xbc4)](GHES_V3_SUFFIX_REGEX,_0x3b3d4c(0x565))),_0x5c4f0a(_0x5daf98)[_0x3b3d4c(0x115b)](_0x3d6fcd=>{const _0x1a5ad9=_0x3b3d4c;if(_0x3d6fcd[_0x1a5ad9(0xd76)][_0x1a5ad9(0xff3)]){const _0x38cb26={};for(const _0x6e71bf of Object['keys'](_0x3d6fcd[_0x1a5ad9(0x68a)])){_0x38cb26[_0x6e71bf]=_0x3d6fcd[_0x1a5ad9(0x68a)][_0x6e71bf];}throw new GraphqlResponseError(_0x5daf98,_0x38cb26,_0x3d6fcd[_0x1a5ad9(0xd76)]);}return _0x3d6fcd['data'][_0x1a5ad9(0xd76)];});}function withDefaults(_0x5272b7,_0x3d13ef){const _0x3c8324=a0_0x4893e6,_0x32b73e=_0x5272b7['defaults'](_0x3d13ef),_0x5bde80=(_0x10e35d,_0xdc2834)=>{return graphql(_0x32b73e,_0x10e35d,_0xdc2834);};return Object['assign'](_0x5bde80,{'defaults':withDefaults[_0x3c8324(0xc86)](null,_0x32b73e),'endpoint':_0x32b73e[_0x3c8324(0x152f)]});}withDefaults(request,{'headers':{'user-agent':a0_0x4893e6(0x3d2)+VERSION$3+'\x20'+getUserAgent()},'method':a0_0x4893e6(0xfba),'url':a0_0x4893e6(0x699)});function withCustomRequest(_0x49a2b0){const _0x5944b8=a0_0x4893e6;returnLine truncated
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gradle-actions-caching",
|
||||
"version": "0.8.0",
|
||||
"version": "0.9.0",
|
||||
"type": "module",
|
||||
"main": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
|
||||
Reference in new issue
Block a user