mirror of
https://github.com/gradle/actions.git
synced 2026-10-16 19:57:12 +08:00
Update gradle-actions-caching library to v1.0.0 (#1029)
Updates to the latest gradle-actions-caching library.
This commit is contained in:
1 parent
a9d14388b4
commit
73e4c4222b
3 files changed
+5
-4
No files matched your search
+3
-2
@@ -1,2 +1,3 @@
|
||||
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
|
||||
const a0_0x47fd01=a0_0x1dcd;(function(_0x4a03b9,_0x1aa485){const _0x5b37bd=a0_0x1dcd,_0x58f33c=_0x4a03b9();while(!![]){try{const _0x1ef3d=parseInt(_0x5b37bd(0xc98))/0x1+parseInt(_0x5b37bd(0x7d9))/0x2*(parseInt(_0x5b37bd(0x17de))/0x3)+parseInt(_0x5b37bd(0x1853))/0x4+-parseInt(_0x5b37bd(0x1ae2))/0x5*(parseInt(_0x5b37bd(0x18e))/0x6)+-parseInt(_0x5b37bd(0x194f))/0x7*(parseInt(_0x5b37bd(0x92f))/0x8)+-parseInt(_0x5b37bd(0x1492))/0x9+parseInt(_0x5b37bd(0x18d7))/0xa;if(_0x1ef3d===_0x1aa485)break;else _0x58f33c['push'](_0x58f33c['shift']());}catch(_0x55cf49){_0x58f33c['push'](_0x58f33c['shift']());}}}(a0_0x4b53,0x6ae38));import{createRequire as a0_0x4f0102}from'module';const require=a0_0x4f0102(import.meta.url);import*as a0_0x18ba62 from'os';import a0_0x3697b1,{EOL as a0_0x17ed13}from'os';import*as a0_0x297ae4 from'crypto';import*as a0_0x23ae8b from'fs';import a0_0x871f4f,{promises,writeFileSync,existsSync,readFileSync}from'fs';import*as a0_0x57b46c from'path';import a0_0x32ac22 from'path';import*as a0_0x4035da from'http';import a0_0x18bd57 from'http';import*as a0_0x302f3a from'https';import a0_0x4fe882 from'https';import a0_0x102601 from'net';import a0_0x31cfdb from'tls';import*as a0_0x358f51 from'events';import a0_0x3ecaa0,{EventEmitter}from'events';import a0_0x1d296b,{ok}from'assert';import*as a0_0x5fa1b5 from'util';import a0_0x10fe6e from'util';import a0_0x12bace from'node:assert';import a0_0x2a6118 from'node:net';import a0_0x404526 from'node:http';import a0_0x1e1e3d,{Transform,Readable as a0_0x1a9f01}from'node:stream';import a0_0x16c527 from'node:buffer';import a0_0x488dbd,{inspect}from'node:util';import a0_0x43c864 from'node:querystring';import a0_0x469e3d from'node:events';import a0_0x160a02 from'node:diagnostics_channel';import a0_0x1c99c1 from'node:tls';import a0_0x2f87e5 from'node:zlib';import a0_0x2e2f89 from'node:perf_hooks';import a0_0x14f758 from'node:util/types';import a0_0x1285eb from'node:worker_threads';import a0_0x95da6d,{fileURLToPath}from'node:url';import a0_0x32dea7 from'node:async_hooks';import a0_0x30c181 from'node:console';import a0_0x5a0806 from'node:dns';import a0_0x1317a6,{StringDecoder}from'string_decoder';import*as a0_0x35d930 from'child_process';import{setTimeout as a0_0x40f869}from'timers';import*as a0_0x30b462 from'stream';import{Readable}from'stream';import a0_0x3b2aec,{URL as a0_0x4f4094}from'url';import{createRequire}from'node:module';import{dirname as a0_0x5d1d4d}from'node:path';import*as a0_0x2b6dba from'buffer';import{Buffer as a0_0x2dc6ea}from'buffer';import a0_0x8ddcd6,{EOL as a0_0xd93434}from'node:os';import a0_0x4f6547 from'node:process';import a0_0x391968 from'node:https';import{createHmac}from'node:crypto';import a0_0xba9be6 from'tty';import a0_0x564093 from'node:fs';import*as a0_0x2e6892 from'zlib';function toCommandValue(_0x4b79bf){const _0x1848d4=a0_0x1dcd;if(_0x4b79bf===null||_0x4b79bf===undefined)return'';else{if(typeof _0x4b79bf===_0x1848d4(0x195a)||_0x4b79bf instanceof String)return _0x4b79bf;}return JSON['stringify'](_0x4b79bf);}function toCommandProperties(_0x60f858){const _0x1e6d17=a0_0x1dcd;if(!Object[_0x1e6d17(0x1721)](_0x60f858)['length'])return{};return{'title':_0x60f858[_0x1e6d17(0x8fb)],'file':_0x60f858['file'],'line':_0x60f858['startLine'],'endLine':_0x60f858[_0x1e6d17(0x7f7)],'col':_0x60f858[_0x1e6d17(0xd4f)],'endColumn':_0x60f858[_0x1e6d17(0x364)]};}function issueCommand(_0x1cab71,_0xb5db34,_0x33a878){const _0x2e56c9=a0_0x1dcd,_0x15c5db=new Command(_0x1cab71,_0xb5db34,_0x33a878);process[_0x2e56c9(0x17df)][_0x2e56c9(0x153f)](_0x15c5db[_0x2e56c9(0x113)]()+a0_0x18ba62[_0x2e56c9(0x19d2)]);}function issue(_0x30dc23,_0x1efaa0=''){issueCommand(_0x30dc23,{},_0x1efaa0);}const CMD_STRING='::';class Command{constructor(_0x29332d,_0x34d7a4,_0x4077f6){const _0x3f2406=a0_0x1dcd;!_0x29332d&&(_0x29332d=_0x3f2406(0xee)),this['command']=_0x29332d,this[_0x3f2406(0x10af)]=_0x34d7a4,this[_0x3f2406(0x307)]=_0x4077f6;}['toString'](){const _0xd2ae6=a0_0x1dcd;let _0x2943fe=CMD_STRING+this[_0xd2ae6(0xa72)];if(this['properties']&&Object['keys'](this[_0xd2ae6(0x10af)])[_0xd2ae6(0x6ec)]>0x0){_0x2943fe+='\x20';let _0x19c3ae=!![];for(const _0x193b4a in this[_0xd2ae6(0x10af)]){if(this[_0xd2ae6(0x10af)][_0xd2ae6(0xa63)](_0x193b4a)){const _0x413e78=this[_0xd2ae6(0x10af)][_0x193b4a];_0x413e78&&(_0x19c3ae?_0x19c3ae=![]:_0x2943fe+=',',_0x2943fe+=_0x193b4a+'='+escapeProperty(_0x413e78));}}}return _0x2943fe+=''+CMD_STRING+escapeData(this[_0xd2ae6(0x307)]),_0x2943fe;}}function escapeData(_0x32bc19){const _0x4550a0=a0_0x1dcd;return toCommandValue(_0x32bc19)['replace'](/%/g,'%25')[_0x4550a0(0x1a2c)](/\r/g,'%0D')['replace'](/\n/g,_0x4550a0(0x1a98));}function escapeProperty(_0xcfbf86){const _0x2f4947=a0_0x1dcd;return toCommandValue(_0xcfbf86)['replace'](/%/g,'%25')[_0x2f4947(0x1a2c)](/\r/g,'%0D')['replace'](/\n/g,_0x2f4947(0x1a98))['replace'](/:/g,_0x2f4947(0x1622))[_0x2f4947(0x1a2c)](/,/g,_0x2f4947(0x100));}function issueFileCommand(_0xd0b049,_0x4a54f4){const _0x34ffc1=a0_0x1dcd,_0x591b31=proceLine truncated
|
||||
()=>new ArrayBuffer(0x0));}function isJSONResponse(_0x226641){const _0x220ce1=a0_0x47fd01;return _0x226641[_0x220ce1(0x72c)]===_0x220ce1(0x1798)||_0x226641[_0x220ce1(0x72c)]===_0x220ce1(0xf5e);}function toErrorMessage(_0x5393c8){const _0x59fe3d=a0_0x47fd01;if(typeof _0x5393c8===_0x59fe3d(0x195a))return _0x5393c8;if(_0x5393c8 instanceof ArrayBuffer)return _0x59fe3d(0x19f9);if(typeof _0x5393c8===_0x59fe3d(0x1c7)&&_0x5393c8!==null&&_0x59fe3d(0x307)in _0x5393c8){const _0x2f7c52=_0x5393c8,_0x58055a='documentation_url'in _0x2f7c52?'\x20-\x20'+_0x2f7c52[_0x59fe3d(0x81c)]:'';return Array[_0x59fe3d(0xc38)](_0x2f7c52[_0x59fe3d(0x21a)])?_0x2f7c52[_0x59fe3d(0x307)]+':\x20'+_0x2f7c52['errors']['map'](_0x20ff35=>JSON[_0x59fe3d(0x1584)](_0x20ff35))[_0x59fe3d(0x122d)](',\x20')+_0x58055a:''+_0x2f7c52[_0x59fe3d(0x307)]+_0x58055a;}return'Unknown\x20error:\x20'+JSON[_0x59fe3d(0x1584)](_0x5393c8);}function withDefaults$1(_0x24ec52,_0x4df226){const _0x327a69=a0_0x47fd01,_0x365111=_0x24ec52[_0x327a69(0x14b7)](_0x4df226),_0x20a9c4=function(_0x5cc1ff,_0x37d542){const _0xa1257=_0x327a69,_0x12338e=_0x365111['merge'](_0x5cc1ff,_0x37d542);if(!_0x12338e['request']||!_0x12338e[_0xa1257(0x21b)][_0xa1257(0x146)])return fetchWrapper(_0x365111['parse'](_0x12338e));const _0x57df34=(_0x5a0162,_0x51cd71)=>{const _0x3df79c=_0xa1257;return fetchWrapper(_0x365111['parse'](_0x365111[_0x3df79c(0x878)](_0x5a0162,_0x51cd71)));};return Object[_0xa1257(0xdda)](_0x57df34,{'endpoint':_0x365111,'defaults':withDefaults$1[_0xa1257(0x72b)](null,_0x365111)}),_0x12338e[_0xa1257(0x21b)][_0xa1257(0x146)](_0x57df34,_0x12338e);};return Object[_0x327a69(0xdda)](_0x20a9c4,{'endpoint':_0x365111,'defaults':withDefaults$1[_0x327a69(0x72b)](null,_0x365111)});}var request=withDefaults$1(endpoint,defaults_default),VERSION$3=a0_0x47fd01(0x1a93);function _buildMessageForResponseErrors(_0x5447cf){const _0x3376f1=a0_0x47fd01;return'Request\x20failed\x20due\x20to\x20following\x20response\x20errors:\x0a'+_0x5447cf[_0x3376f1(0x21a)][_0x3376f1(0x12a0)](_0x2b797c=>_0x3376f1(0x160d)+_0x2b797c[_0x3376f1(0x307)])[_0x3376f1(0x122d)]('\x0a');}var GraphqlResponseError=class extends Error{constructor(_0x2ecc6e,_0xa88e17,_0x5cb215){const _0x4fc796=a0_0x47fd01;super(_buildMessageForResponseErrors(_0x5cb215)),this[_0x4fc796(0x21b)]=_0x2ecc6e,this[_0x4fc796(0x67c)]=_0xa88e17,this[_0x4fc796(0x61b)]=_0x5cb215,this[_0x4fc796(0x21a)]=_0x5cb215[_0x4fc796(0x21a)],this[_0x4fc796(0x1058)]=_0x5cb215[_0x4fc796(0x1058)],Error[_0x4fc796(0x8ad)]&&Error[_0x4fc796(0x8ad)](this,this[_0x4fc796(0x1996)]);}['request'];[a0_0x47fd01(0x67c)];[a0_0x47fd01(0x61b)];[a0_0x47fd01(0xe6f)]=a0_0x47fd01(0x150a);[a0_0x47fd01(0x21a)];[a0_0x47fd01(0x1058)];},NON_VARIABLE_OPTIONS=['method','baseUrl','url',a0_0x47fd01(0x67c),a0_0x47fd01(0x21b),a0_0x47fd01(0xb2f),'mediaType',a0_0x47fd01(0x16c0)],FORBIDDEN_VARIABLE_OPTIONS=[a0_0x47fd01(0xb2f),'method','url'],GHES_V3_SUFFIX_REGEX=/\/api\/v3\/?$/;function graphql(_0x284fa4,_0x1f5c86,_0x4eb39e){const _0x3fe0bb=a0_0x47fd01;if(_0x4eb39e){if(typeof _0x1f5c86===_0x3fe0bb(0x195a)&&_0x3fe0bb(0xb2f)in _0x4eb39e)return Promise['reject'](new Error(_0x3fe0bb(0x14f2)));for(const _0x51b893 in _0x4eb39e){if(!FORBIDDEN_VARIABLE_OPTIONS[_0x3fe0bb(0x6f1)](_0x51b893))continue;return Promise[_0x3fe0bb(0xfbb)](new Error(_0x3fe0bb(0x907)+_0x51b893+_0x3fe0bb(0x256)));}}const _0xd4247b=typeof _0x1f5c86===_0x3fe0bb(0x195a)?Object[_0x3fe0bb(0xdda)]({'query':_0x1f5c86},_0x4eb39e):_0x1f5c86,_0x184c33=Object[_0x3fe0bb(0x1721)](_0xd4247b)['reduce']((_0x3a3269,_0x4e1c15)=>{const _0x313df2=_0x3fe0bb;if(NON_VARIABLE_OPTIONS['includes'](_0x4e1c15))return _0x3a3269[_0x4e1c15]=_0xd4247b[_0x4e1c15],_0x3a3269;return!_0x3a3269[_0x313df2(0x831)]&&(_0x3a3269[_0x313df2(0x831)]={}),_0x3a3269[_0x313df2(0x831)][_0x4e1c15]=_0xd4247b[_0x4e1c15],_0x3a3269;},{}),_0x2cd797=_0xd4247b[_0x3fe0bb(0x1783)]||_0x284fa4[_0x3fe0bb(0x67d)][_0x3fe0bb(0x905)][_0x3fe0bb(0x1783)];return GHES_V3_SUFFIX_REGEX['test'](_0x2cd797)&&(_0x184c33[_0x3fe0bb(0x1802)]=_0x2cd797[_0x3fe0bb(0x1a2c)](GHES_V3_SUFFIX_REGEX,_0x3fe0bb(0xc75))),_0x284fa4(_0x184c33)[_0x3fe0bb(0x1ac0)](_0x29c752=>{const _0x51b2a1=_0x3fe0bb;if(_0x29c752[_0x51b2a1(0x1058)][_0x51b2a1(0x21a)]){const _0x51ad56={};for(const _0x206216 of Object[_0x51b2a1(0x1721)](_0x29c752[_0x51b2a1(0x67c)])){_0x51ad56[_0x206216]=_0x29c752[_0x51b2a1(0x67c)][_0x206216];}throw new GraphqlResponseError(_0x184c33,_0x51ad56,_0x29c752[_0x51b2a1(0x1058)]);}return _0x29c752[_0x51b2a1(0x1058)][_0x51b2a1(0x1058)];});}function withDefaults(_0x66f202,_0x41033f){const _0x5375ea=a0_0x47fd01,_0x10b078=_0x66f202[_0x5375ea(0x14b7)](_0x41033f),_0xa1ce97=(_0x2fb1f3,_0x3fece6)=>{return graphql(_0x10b078,_0x2fb1f3,_0x3fece6);};return Object[_0x5375ea(0xdda)](_0xa1ce97,{'defaults':withDefaults['bind'](null,_0x10b078),'endpoint':_0x10b078['endpoint']});}withDefaults(request,{'headers':{'user-agent':a0_0x47fd01(0x1652)+VERSION$3+'\x20'+getUserAgent()},'method':'POST','url':'/graphql'});function withCustomRequest(_0x36750d){constLine truncated
|
||||
var b64url=a0_0x47fd01(0xa39),sep='\x5c.',jwtRE=new RegExp('^'+b64url+sep+b64url+sep+b64url+'$'),isJWT=jwtRE[a0_0x47fd01(0x1d1)][a0_0x47fd01(0x72b)](jwtRE);async function auth(_0xc70a95){const _0x15b3a7=a0_0x47fd01,_0x337e80=isJWT(_0xc70a95),_0x586e1c=_0xc70a95[_0x15b3a7(0x1977)](_0x15b3a7(0x424))||_0xc70a95[_0x15b3a7(0x1977)]('ghs_'),_0x1f5a92=_0xc70a95[_0x15b3a7(0x1977)](_0x15b3a7(0x1095)),_0x29ae47=_0x337e80?_0x15b3a7(0x17d8):_0x586e1c?_0x15b3a7(0x16c1):_0x1f5a92?'user-to-server':'oauth';return{'type':'token','token':_0xc70a95,'tokenType':_0x29ae47};}function withAuthorizationPrefix(_0x29bf1f){const _0x39e7c4=a0_0x47fd01;if(_0x29bf1f['split'](/\./)['length']===0x3)return _0x39e7c4(0x18c1)+_0x29bf1f;return _0x39e7c4(0xd7b)+_0x29bf1f;}async function hook(_0xa083c1,_0x3067f7,_0x2ebd40,_0x37279d){const _0x29f42a=a0_0x47fd01,_0x54bbd8=_0x3067f7[_0x29f42a(0x67d)][_0x29f42a(0x878)](_0x2ebd40,_0x37279d);return _0x54bbd8[_0x29f42a(0x67c)][_0x29f42a(0x15ae)]=withAuthorizationPrefix(_0xa083c1),_0x3067f7(_0x54bbd8);}var createTokenAuth=function createTokenAuth2(_0x557fe5){const _0xbea864=a0_0x47fd01;if(!_0x557fe5)throw new Error(_0xbea864(0x1236));if(typeof _0x557fe5!=='string')throw new Error('[@octokit/auth-token]\x20Token\x20passed\x20to\x20createTokenAuth\x20is\x20not\x20a\x20string');return _0x557fe5=_0x557fe5['replace'](/^(token|bearer) +/i,''),Object[_0xbea864(0xdda)](auth['bind'](null,_0x557fe5),{'hook':hook[_0xbea864(0x72b)](null,_0x557fe5)});};const VERSION$2=a0_0x47fd01(0x1959),noop=()=>{},consoleWarn=console['warn'][a0_0x47fd01(0x72b)](console),consoleError=console[a0_0x47fd01(0xb03)][a0_0x47fd01(0x72b)](console);function createLogger(_0x2e6a8d={}){const _0x32e6d1=a0_0x47fd01;return typeof _0x2e6a8d[_0x32e6d1(0x125d)]!=='function'&&(_0x2e6a8d['debug']=noop),typeof _0x2e6a8d[_0x32e6d1(0x1a79)]!==_0x32e6d1(0xccc)&&(_0x2e6a8d[_0x32e6d1(0x1a79)]=noop),typeof _0x2e6a8d[_0x32e6d1(0x13c5)]!==_0x32e6d1(0xccc)&&(_0x2e6a8d[_0x32e6d1(0x13c5)]=consoleWarn),typeof _0x2e6a8d[_0x32e6d1(0xb03)]!==_0x32e6d1(0xccc)&&(_0x2e6a8d[_0x32e6d1(0xb03)]=consoleError),_0x2e6a8d;}const userAgentTrail=a0_0x47fd01(0x15ff)+VERSION$2+'\x20'+getUserAgent();class Octokit{static ['VERSION']=VERSION$2;static[a0_0x47fd01(0x14b7)](_0x3fb592){const _0x396835=class extends this{constructor(..._0x44447a){const _0x3bc1b5=a0_0x1dcd,_0x3860cb=_0x44447a[0x0]||{};if(typeof _0x3fb592===_0x3bc1b5(0xccc)){super(_0x3fb592(_0x3860cb));return;}super(Object[_0x3bc1b5(0xdda)]({},_0x3fb592,_0x3860cb,_0x3860cb[_0x3bc1b5(0x75a)]&&_0x3fb592['userAgent']?{'userAgent':_0x3860cb['userAgent']+'\x20'+_0x3fb592[_0x3bc1b5(0x75a)]}:null));}};return _0x396835;}static ['plugins']=[];static[a0_0x47fd01(0xa08)](..._0x3fc1f8){const _0x59a518=a0_0x47fd01,_0xf4e3c4=this[_0x59a518(0x67e)],_0x4bec75=class extends this{static [_0x59a518(0x67e)]=_0xf4e3c4['concat'](_0x3fc1f8[_0x59a518(0x1fd)](plugin=>!_0xf4e3c4[_0x59a518(0x6f1)](plugin)));};return _0x4bec75;}constructor(_0x13d4fb={}){const _0x178c0b=a0_0x47fd01,_0x12fb8e=new Hook[(_0x178c0b(0x94))](),_0x540b3c={'baseUrl':request['endpoint'][_0x178c0b(0x905)][_0x178c0b(0x1783)],'headers':{},'request':Object[_0x178c0b(0xdda)]({},_0x13d4fb['request'],{'hook':_0x12fb8e['bind'](null,_0x178c0b(0x21b))}),'mediaType':{'previews':[],'format':''}};_0x540b3c['headers'][_0x178c0b(0x129c)]=_0x13d4fb[_0x178c0b(0x75a)]?_0x13d4fb[_0x178c0b(0x75a)]+'\x20'+userAgentTrail:userAgentTrail;_0x13d4fb[_0x178c0b(0x1783)]&&(_0x540b3c[_0x178c0b(0x1783)]=_0x13d4fb[_0x178c0b(0x1783)]);_0x13d4fb['previews']&&(_0x540b3c[_0x178c0b(0x13f7)][_0x178c0b(0xdce)]=_0x13d4fb[_0x178c0b(0xdce)]);_0x13d4fb[_0x178c0b(0x1a9d)]&&(_0x540b3c[_0x178c0b(0x67c)][_0x178c0b(0xa5a)]=_0x13d4fb['timeZone']);this[_0x178c0b(0x21b)]=request[_0x178c0b(0x14b7)](_0x540b3c),this[_0x178c0b(0x1357)]=withCustomRequest(this[_0x178c0b(0x21b)])[_0x178c0b(0x14b7)](_0x540b3c),this['log']=createLogger(_0x13d4fb[_0x178c0b(0xff3)]),this[_0x178c0b(0x146)]=_0x12fb8e;if(!_0x13d4fb[_0x178c0b(0x6d4)]){if(!_0x13d4fb[_0x178c0b(0xca7)])this[_0x178c0b(0xca7)]=async()=>({'type':_0x178c0b(0xd9e)});else{const _0x542eae=createTokenAuth(_0x13d4fb[_0x178c0b(0xca7)]);_0x12fb8e[_0x178c0b(0x39a)](_0x178c0b(0x21b),_0x542eae['hook']),this[_0x178c0b(0xca7)]=_0x542eae;}}else{const {authStrategy:_0x56dd7e,..._0x1ca146}=_0x13d4fb,_0x277e7e=_0x56dd7e(Object[_0x178c0b(0xdda)]({'request':this[_0x178c0b(0x21b)],'log':this[_0x178c0b(0xff3)],'octokit':this,'octokitOptions':_0x1ca146},_0x13d4fb['auth']));_0x12fb8e[_0x178c0b(0x39a)]('request',_0x277e7e[_0x178c0b(0x146)]),this[_0x178c0b(0xca7)]=_0x277e7e;}const _0x11f32b=this[_0x178c0b(0x1996)];for(let _0x3d017a=0x0;_0x3d017a<_0x11f32b[_0x178c0b(0x67e)]['length'];++_0x3d017a){Object[_0x178c0b(0xdda)](this,_0x11f32b['plugins'][_0x3d017a](this,_0x13d4fb));}}[a0_0x47fd01(0x21b)];[a0_0x47fd01(0x1357)];['log'];[a0_0x47fd01(0x146)];[a0_0x47fd01(0xca7)];}const VERSION$1=a0_0x47fd01(0x258),Endpoints={'actions':{'addCustomLabelsToSelfHostedRunnerForOrg':[a0_0x47fd01(0x1528)],'addCustomLabelsToLine truncated
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gradle-actions-caching",
|
||||
"version": "0.9.0",
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"main": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"toolPackages": [
|
||||
{
|
||||
"packageName": "@microsoft/api-extractor",
|
||||
"packageVersion": "7.58.8"
|
||||
"packageVersion": "7.58.12"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user