mirror of
https://github.com/gradle/actions.git
synced 2026-10-16 19:57:12 +08:00
Point /register link at the actual deployment hostname
Match the corrected backend host (actions-caching-registration.vercel.app) in the not-registered notice, and refresh the vendored gradle-actions-caching to 0.9.2. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
8a24b30373
commit
1bbceb8c10
3 files changed
+4
-4
No files matched your search
@@ -2,7 +2,7 @@ import {CacheCleanupStatus, CacheEntryReport, CacheReport, CacheStatus, ProjectC
|
||||
|
||||
const DOCS = 'https://github.com/gradle/actions/blob/main/docs/setup-gradle.md'
|
||||
const DISTRIBUTION = 'https://github.com/gradle/actions/blob/main/DISTRIBUTION.md'
|
||||
const REGISTER = 'https://gradle-actions-caching-registration.vercel.app/register'
|
||||
const REGISTER = 'https://actions-caching-registration.vercel.app/register'
|
||||
|
||||
/**
|
||||
* Identifies the caching provider in use, so the report can attribute the cache
|
||||
|
||||
+2
-2
@@ -1,2 +1,2 @@
|
||||
const a0_0x54288c=a0_0x3108;(function(_0x1e00b5,_0x4f474b){const _0x36ab64=a0_0x3108,_0x24cf5a=_0x1e00b5();while(!![]){try{const _0x501763=-parseInt(_0x36ab64(0x1006))/0x1+-parseInt(_0x36ab64(0x14a2))/0x2+parseInt(_0x36ab64(0x115))/0x3+parseInt(_0x36ab64(0x4e9))/0x4*(parseInt(_0x36ab64(0xd34))/0x5)+-parseInt(_0x36ab64(0x94f))/0x6+-parseInt(_0x36ab64(0xa3a))/0x7+parseInt(_0x36ab64(0x11f4))/0x8*(parseInt(_0x36ab64(0x6c4))/0x9);if(_0x501763===_0x4f474b)break;else _0x24cf5a['push'](_0x24cf5a['shift']());}catch(_0x12ac74){_0x24cf5a['push'](_0x24cf5a['shift']());}}}(a0_0x2343,0x9ab98));import*as a0_0x2d61f0 from'os';import a0_0x4e479b,{EOL as a0_0x158289}from'os';import*as a0_0x38b4f3 from'crypto';import*as a0_0x471e91 from'fs';import a0_0x85726f,{promises,writeFileSync,existsSync,readFileSync}from'fs';import*as a0_0x2776a4 from'path';import a0_0x1c28fe from'path';import*as a0_0x24aa3c from'http';import a0_0x4a9aeb from'http';import*as a0_0xa93198 from'https';import a0_0x443548 from'https';import a0_0x4d9ab1 from'net';import a0_0x380e49 from'tls';import*as a0_0xed4bbd from'events';import a0_0x3738e4,{EventEmitter}from'events';import a0_0x450301,{ok}from'assert';import*as a0_0x526f61 from'util';import a0_0x5b2dc4 from'util';import a0_0x1f1c6e from'node:assert';import a0_0x30da10 from'node:net';import a0_0x584f16 from'node:http';import a0_0x69507a,{Transform,Readable as a0_0x310d49}from'node:stream';import a0_0x45ec4c from'node:buffer';import a0_0x2b5d73,{inspect}from'node:util';import a0_0x350b64 from'node:querystring';import a0_0x5582b9 from'node:events';import a0_0x4ec34b from'node:diagnostics_channel';import a0_0x2fd5a0 from'node:tls';import a0_0x51c25b from'node:zlib';import a0_0x167f0c from'node:perf_hooks';import a0_0x155602 from'node:util/types';import a0_0x2d304a from'node:worker_threads';import a0_0x1ee98b from'node:url';import a0_0x424ad1 from'node:async_hooks';import a0_0xa8b7c9 from'node:console';import a0_0x14dac6 from'node:dns';import a0_0x4a7a59,{StringDecoder}from'string_decoder';import*as a0_0x37217d from'child_process';import{setTimeout as a0_0x22f09d}from'timers';import*as a0_0x9abe8a from'stream';import{Readable}from'stream';import a0_0x577eac,{URL as a0_0x1cbe39}from'url';import*as a0_0x4a1553 from'buffer';import{Buffer as a0_0x32a507}from'buffer';import a0_0x4fa604,{EOL as a0_0x1faabb}from'node:os';import a0_0x50dcdd from'node:process';import a0_0x123440 from'node:https';import a0_0x31c8c2 from'tty';import{createHmac}from'node:crypto';import a0_0x2fcda3 from'node:fs';import*as a0_0x3b4200 from'zlib';function toCommandValue(_0x30d196){const _0x290ed3=a0_0x3108;if(_0x30d196===null||_0x30d196===undefined)return'';else{if(typeof _0x30d196===_0x290ed3(0x1185)||_0x30d196 instanceof String)return _0x30d196;}return JSON['stringify'](_0x30d196);}function toCommandProperties(_0x4a03a3){const _0x23b5f0=a0_0x3108;if(!Object[_0x23b5f0(0x82f)](_0x4a03a3)[_0x23b5f0(0x11e7)])return{};return{'title':_0x4a03a3['title'],'file':_0x4a03a3['file'],'line':_0x4a03a3['startLine'],'endLine':_0x4a03a3[_0x23b5f0(0x1777)],'col':_0x4a03a3[_0x23b5f0(0x824)],'endColumn':_0x4a03a3[_0x23b5f0(0x923)]};}function issueCommand(_0x34a01b,_0x2b8afc,_0x5c9cd3){const _0x153bb6=a0_0x3108,_0x304337=new Command(_0x34a01b,_0x2b8afc,_0x5c9cd3);process[_0x153bb6(0x295)][_0x153bb6(0x127c)](_0x304337[_0x153bb6(0x9e5)]()+a0_0x2d61f0['EOL']);}function issue(_0xda2438,_0x1c5ebf=''){issueCommand(_0xda2438,{},_0x1c5ebf);}const CMD_STRING='::';class Command{constructor(_0x83ff3d,_0x35bf91,_0x1893a4){const _0x55a70c=a0_0x3108;!_0x83ff3d&&(_0x83ff3d=_0x55a70c(0x138d)),this[_0x55a70c(0x955)]=_0x83ff3d,this[_0x55a70c(0xe4a)]=_0x35bf91,this[_0x55a70c(0x65e)]=_0x1893a4;}[a0_0x54288c(0x9e5)](){const _0x16a0d1=a0_0x54288c;let _0x48dcd0=CMD_STRING+this[_0x16a0d1(0x955)];if(this[_0x16a0d1(0xe4a)]&&Object[_0x16a0d1(0x82f)](this[_0x16a0d1(0xe4a)])[_0x16a0d1(0x11e7)]>0x0){_0x48dcd0+='\x20';let _0x17713c=!![];for(const _0x3dea38 in this[_0x16a0d1(0xe4a)]){if(this[_0x16a0d1(0xe4a)]['hasOwnProperty'](_0x3dea38)){const _0x43b006=this[_0x16a0d1(0xe4a)][_0x3dea38];_0x43b006&&(_0x17713c?_0x17713c=![]:_0x48dcd0+=',',_0x48dcd0+=_0x3dea38+'='+escapeProperty(_0x43b006));}}}return _0x48dcd0+=''+CMD_STRING+escapeData(this['message']),_0x48dcd0;}}function escapeData(_0x3d1135){const _0x5dcffd=a0_0x54288c;return toCommandValue(_0x3d1135)[_0x5dcffd(0x99c)](/%/g,_0x5dcffd(0xaa9))[_0x5dcffd(0x99c)](/\r/g,_0x5dcffd(0x153d))[_0x5dcffd(0x99c)](/\n/g,_0x5dcffd(0x956));}function escapeProperty(_0x59b104){const _0x59dbc0=a0_0x54288c;return toCommandValue(_0x59b104)['replace'](/%/g,_0x59dbc0(0xaa9))[_0x59dbc0(0x99c)](/\r/g,_0x59dbc0(0x153d))[_0x59dbc0(0x99c)](/\n/g,_0x59dbc0(0x956))[_0x59dbc0(0x99c)](/:/g,'%3A')[_0x59dbc0(0x99c)](/,/g,_0x59dbc0(0x1700));}function issueFileCommand(_0xe760b6,_0x62d81){const _0x6be51a=a0_0x54288c,_0x5789de=process.env[`GITHUB_${_0xe760b6}`];if(!_0x5789de)throw new Error('Unable\x20to\x20find\x20environment\x20variable\x20for\x20file\x20command\x20'+_0xeLine truncated
|
||||
()=>new ArrayBuffer(0x0));}function isJSONResponse(_0x2eac8c){const _0x1a8007=a0_0x54288c;return _0x2eac8c[_0x1a8007(0xbfc)]==='application/json'||_0x2eac8c[_0x1a8007(0xbfc)]===_0x1a8007(0xb32);}function toErrorMessage(_0x5eeb71){const _0x243163=a0_0x54288c;if(typeof _0x5eeb71==='string')return _0x5eeb71;if(_0x5eeb71 instanceof ArrayBuffer)return _0x243163(0x2bc);if(_0x243163(0x65e)in _0x5eeb71){const _0x4bf575='documentation_url'in _0x5eeb71?_0x243163(0x1290)+_0x5eeb71[_0x243163(0x5c2)]:'';return Array[_0x243163(0x167b)](_0x5eeb71['errors'])?_0x5eeb71['message']+':\x20'+_0x5eeb71[_0x243163(0x794)][_0x243163(0x15bb)](_0xa1d412=>JSON['stringify'](_0xa1d412))[_0x243163(0x1371)](',\x20')+_0x4bf575:''+_0x5eeb71['message']+_0x4bf575;}return'Unknown\x20error:\x20'+JSON[_0x243163(0xc87)](_0x5eeb71);}function withDefaults$1(_0x21b79b,_0x1b895f){const _0x4d16b7=a0_0x54288c,_0x4c1dfe=_0x21b79b[_0x4d16b7(0xe4e)](_0x1b895f),_0x3ee554=function(_0x6dc008,_0x1e6a90){const _0x1b1b1e=_0x4d16b7,_0x14db73=_0x4c1dfe[_0x1b1b1e(0x10f2)](_0x6dc008,_0x1e6a90);if(!_0x14db73[_0x1b1b1e(0x168)]||!_0x14db73[_0x1b1b1e(0x168)]['hook'])return fetchWrapper(_0x4c1dfe['parse'](_0x14db73));const _0x3db0e9=(_0x38a176,_0x3daaf3)=>{const _0xc4417c=_0x1b1b1e;return fetchWrapper(_0x4c1dfe[_0xc4417c(0x864)](_0x4c1dfe[_0xc4417c(0x10f2)](_0x38a176,_0x3daaf3)));};return Object[_0x1b1b1e(0xc7f)](_0x3db0e9,{'endpoint':_0x4c1dfe,'defaults':withDefaults$1[_0x1b1b1e(0xff3)](null,_0x4c1dfe)}),_0x14db73[_0x1b1b1e(0x168)][_0x1b1b1e(0x1103)](_0x3db0e9,_0x14db73);};return Object[_0x4d16b7(0xc7f)](_0x3ee554,{'endpoint':_0x4c1dfe,'defaults':withDefaults$1[_0x4d16b7(0xff3)](null,_0x4c1dfe)});}var request=withDefaults$1(endpoint,defaults_default),VERSION$3=a0_0x54288c(0xf55);function _buildMessageForResponseErrors(_0x3568e1){const _0x534044=a0_0x54288c;return _0x534044(0x7e3)+_0x3568e1['errors']['map'](_0x260eb4=>_0x534044(0x1290)+_0x260eb4[_0x534044(0x65e)])[_0x534044(0x1371)]('\x0a');}var GraphqlResponseError=class extends Error{constructor(_0x582796,_0xcebd7d,_0x180539){const _0x197e8a=a0_0x54288c;super(_buildMessageForResponseErrors(_0x180539)),this[_0x197e8a(0x168)]=_0x582796,this['headers']=_0xcebd7d,this[_0x197e8a(0xe36)]=_0x180539,this[_0x197e8a(0x794)]=_0x180539[_0x197e8a(0x794)],this[_0x197e8a(0x10b6)]=_0x180539[_0x197e8a(0x10b6)],Error['captureStackTrace']&&Error[_0x197e8a(0x67e)](this,this[_0x197e8a(0xfae)]);}[a0_0x54288c(0x275)]=a0_0x54288c(0xace);[a0_0x54288c(0x794)];[a0_0x54288c(0x10b6)];},NON_VARIABLE_OPTIONS=[a0_0x54288c(0x125e),'baseUrl','url',a0_0x54288c(0xaf8),'request',a0_0x54288c(0x3be),'mediaType','operationName'],FORBIDDEN_VARIABLE_OPTIONS=[a0_0x54288c(0x3be),a0_0x54288c(0x125e),'url'],GHES_V3_SUFFIX_REGEX=/\/api\/v3\/?$/;function graphql(_0x3e29f3,_0x300969,_0x4d97be){const _0x19446b=a0_0x54288c;if(_0x4d97be){if(typeof _0x300969===_0x19446b(0x1185)&&'query'in _0x4d97be)return Promise['reject'](new Error(_0x19446b(0x1335)));for(const _0x578c50 in _0x4d97be){if(!FORBIDDEN_VARIABLE_OPTIONS[_0x19446b(0x150c)](_0x578c50))continue;return Promise[_0x19446b(0xee5)](new Error(_0x19446b(0x145b)+_0x578c50+_0x19446b(0x17cd)));}}const _0x176b4d=typeof _0x300969===_0x19446b(0x1185)?Object[_0x19446b(0xc7f)]({'query':_0x300969},_0x4d97be):_0x300969,_0x8bf665=Object[_0x19446b(0x82f)](_0x176b4d)[_0x19446b(0x17b1)]((_0x2dd891,_0x299184)=>{const _0x42a4f9=_0x19446b;if(NON_VARIABLE_OPTIONS[_0x42a4f9(0x150c)](_0x299184))return _0x2dd891[_0x299184]=_0x176b4d[_0x299184],_0x2dd891;return!_0x2dd891[_0x42a4f9(0xb4c)]&&(_0x2dd891[_0x42a4f9(0xb4c)]={}),_0x2dd891[_0x42a4f9(0xb4c)][_0x299184]=_0x176b4d[_0x299184],_0x2dd891;},{}),_0x21fd61=_0x176b4d['baseUrl']||_0x3e29f3['endpoint'][_0x19446b(0x1697)]['baseUrl'];return GHES_V3_SUFFIX_REGEX[_0x19446b(0x14c4)](_0x21fd61)&&(_0x8bf665['url']=_0x21fd61[_0x19446b(0x99c)](GHES_V3_SUFFIX_REGEX,_0x19446b(0x25d))),_0x3e29f3(_0x8bf665)[_0x19446b(0x83a)](_0x2a26ad=>{const _0x1fd5ac=_0x19446b;if(_0x2a26ad[_0x1fd5ac(0x10b6)]['errors']){const _0x9f725d={};for(const _0x39115c of Object[_0x1fd5ac(0x82f)](_0x2a26ad['headers'])){_0x9f725d[_0x39115c]=_0x2a26ad[_0x1fd5ac(0xaf8)][_0x39115c];}throw new GraphqlResponseError(_0x8bf665,_0x9f725d,_0x2a26ad[_0x1fd5ac(0x10b6)]);}return _0x2a26ad[_0x1fd5ac(0x10b6)]['data'];});}function withDefaults(_0x2268f7,_0x57d8e2){const _0x1d4c4a=a0_0x54288c,_0x35e82f=_0x2268f7[_0x1d4c4a(0xe4e)](_0x57d8e2),_0x360e6c=(_0x3dde8d,_0x1ae2c9)=>{return graphql(_0x35e82f,_0x3dde8d,_0x1ae2c9);};return Object[_0x1d4c4a(0xc7f)](_0x360e6c,{'defaults':withDefaults[_0x1d4c4a(0xff3)](null,_0x35e82f),'endpoint':_0x35e82f[_0x1d4c4a(0xb6a)]});}withDefaults(request,{'headers':{'user-agent':'octokit-graphql.js/'+VERSION$3+'\x20'+getUserAgent()},'method':a0_0x54288c(0x12b5),'url':a0_0x54288c(0x113f)});function withCustomRequest(_0x3cd936){const _0xc7f213=a0_0x54288c;return withDefaults(_0x3cd936,{'method':_0xc7f213(0x12b5),'url':'/graphql'});}var b64url='(?:[a-zA-Z0-9_-]+)',sep='\x5c.',jwtRE=new RegExp('^'+b64url+sep+b64url+sep+b64Line truncated
|
||||
const a0_0x3e52bd=a0_0x5405;(function(_0x447a25,_0x3fbfca){const _0x1b9fcf=a0_0x5405,_0x34af77=_0x447a25();while(!![]){try{const _0x2ac395=-parseInt(_0x1b9fcf(0x1739))/0x1*(-parseInt(_0x1b9fcf(0x6ce))/0x2)+-parseInt(_0x1b9fcf(0xd33))/0x3*(parseInt(_0x1b9fcf(0x1684))/0x4)+parseInt(_0x1b9fcf(0x9e9))/0x5*(-parseInt(_0x1b9fcf(0x13d5))/0x6)+parseInt(_0x1b9fcf(0xfff))/0x7*(-parseInt(_0x1b9fcf(0xf9d))/0x8)+parseInt(_0x1b9fcf(0x1598))/0x9+parseInt(_0x1b9fcf(0x11ad))/0xa+-parseInt(_0x1b9fcf(0x8c0))/0xb*(-parseInt(_0x1b9fcf(0xf41))/0xc);if(_0x2ac395===_0x3fbfca)break;else _0x34af77['push'](_0x34af77['shift']());}catch(_0x54cea3){_0x34af77['push'](_0x34af77['shift']());}}}(a0_0x2081,0x609f1));import*as a0_0x54e682 from'os';import a0_0x4cb1c3,{EOL as a0_0x42760a}from'os';import*as a0_0x2c77fe from'crypto';import*as a0_0x1d6cc1 from'fs';import a0_0x13344a,{promises,writeFileSync,existsSync,readFileSync}from'fs';import*as a0_0x3bbad8 from'path';import a0_0x5d5903 from'path';import*as a0_0x46c45f from'http';function a0_0x5405(_0x17783a,_0x552f60){_0x17783a=_0x17783a-0x1a5;const _0x2081c1=a0_0x2081();let _0x5405f7=_0x2081c1[_0x17783a];return _0x5405f7;}import a0_0x2cf5c2 from'http';import*as a0_0xa18fcc from'https';import a0_0x20d004 from'https';import a0_0x56b549 from'net';import a0_0x6b5a36 from'tls';import*as a0_0x4b0c19 from'events';import a0_0x5c8933,{EventEmitter}from'events';import a0_0x65f93d,{ok}from'assert';import*as a0_0x4db5cb from'util';import a0_0x9a0425 from'util';import a0_0x171b2d from'node:assert';import a0_0x49860b from'node:net';import a0_0xd30fed from'node:http';import a0_0x4468ea,{Transform,Readable as a0_0xc1cd75}from'node:stream';import a0_0x2e514b from'node:buffer';import a0_0x522537,{inspect}from'node:util';import a0_0x297572 from'node:querystring';import a0_0x265f7b from'node:events';import a0_0x254154 from'node:diagnostics_channel';import a0_0x343423 from'node:tls';import a0_0x3d06d8 from'node:zlib';import a0_0x89b3b from'node:perf_hooks';import a0_0x236f84 from'node:util/types';import a0_0x57cac9 from'node:worker_threads';import a0_0x169dbd from'node:url';import a0_0x9c4628 from'node:async_hooks';import a0_0x4493fa from'node:console';import a0_0x3ffa6b from'node:dns';import a0_0x70d715,{StringDecoder}from'string_decoder';import*as a0_0x498e97 from'child_process';import{setTimeout as a0_0x1b76a2}from'timers';import*as a0_0x46d130 from'stream';import{Readable}from'stream';import a0_0x4a51ac,{URL as a0_0x2f7200}from'url';import*as a0_0x83e11d from'buffer';import{Buffer as a0_0xd9a532}from'buffer';import a0_0x492b8a,{EOL as a0_0x1be402}from'node:os';import a0_0x1dd9e8 from'node:process';import a0_0x33e47e from'node:https';import a0_0x139947 from'tty';import{createHmac}from'node:crypto';import a0_0x1bcdf3 from'node:fs';import*as a0_0x3a742b from'zlib';function toCommandValue(_0x5e02ae){if(_0x5e02ae===null||_0x5e02ae===undefined)return'';else{if(typeof _0x5e02ae==='string'||_0x5e02ae instanceof String)return _0x5e02ae;}return JSON['stringify'](_0x5e02ae);}function toCommandProperties(_0x3ad696){const _0x35a21e=a0_0x5405;if(!Object[_0x35a21e(0x110d)](_0x3ad696)['length'])return{};return{'title':_0x3ad696[_0x35a21e(0xd24)],'file':_0x3ad696['file'],'line':_0x3ad696[_0x35a21e(0x997)],'endLine':_0x3ad696[_0x35a21e(0x422)],'col':_0x3ad696[_0x35a21e(0xbbd)],'endColumn':_0x3ad696[_0x35a21e(0x165a)]};}function issueCommand(_0x434321,_0x53a17c,_0xe821f7){const _0x25492c=a0_0x5405,_0x490f95=new Command(_0x434321,_0x53a17c,_0xe821f7);process[_0x25492c(0x6d2)]['write'](_0x490f95[_0x25492c(0xf23)]()+a0_0x54e682['EOL']);}function issue(_0x43bedb,_0x544659=''){issueCommand(_0x43bedb,{},_0x544659);}const CMD_STRING='::';class Command{constructor(_0x366a95,_0x4669fb,_0x37de55){const _0x5ae55d=a0_0x5405;!_0x366a95&&(_0x366a95=_0x5ae55d(0x17bf)),this[_0x5ae55d(0x21c)]=_0x366a95,this[_0x5ae55d(0x9f6)]=_0x4669fb,this[_0x5ae55d(0x104b)]=_0x37de55;}[a0_0x3e52bd(0xf23)](){const _0x162daf=a0_0x3e52bd;let _0x2da4cc=CMD_STRING+this['command'];if(this['properties']&&Object[_0x162daf(0x110d)](this[_0x162daf(0x9f6)])[_0x162daf(0x12be)]>0x0){_0x2da4cc+='\x20';let _0x141aec=!![];for(const _0x2b4560 in this[_0x162daf(0x9f6)]){if(this[_0x162daf(0x9f6)][_0x162daf(0x10d4)](_0x2b4560)){const _0x5eea42=this[_0x162daf(0x9f6)][_0x2b4560];_0x5eea42&&(_0x141aec?_0x141aec=![]:_0x2da4cc+=',',_0x2da4cc+=_0x2b4560+'='+escapeProperty(_0x5eea42));}}}return _0x2da4cc+=''+CMD_STRING+escapeData(this['message']),_0x2da4cc;}}function escapeData(_0x106197){const _0x8b65f3=a0_0x3e52bd;return toCommandValue(_0x106197)['replace'](/%/g,_0x8b65f3(0x904))['replace'](/\r/g,_0x8b65f3(0x1809))['replace'](/\n/g,_0x8b65f3(0x1650));}function escapeProperty(_0x50c2cf){const _0xa3655a=a0_0x3e52bd;return toCommandValue(_0x50c2cf)['replace'](/%/g,'%25')['replace'](/\r/g,'%0D')[_0xa3655a(0xc4b)](/\n/g,_0xa3655a(0x1650))[_0xa3655a(0xc4b)](/:/g,_0xa3655a(0x1510))[_0xa3655a(0xc4b)](/,/g,_0xa3655a(0x1de));}function issueFileCommand(_0x3f0ba5,_0x10680e){const _0x18b09a=a0_0xLine truncated
|
||||
()=>new ArrayBuffer(0x0));}function isJSONResponse(_0x1717c5){const _0x203413=a0_0x3e52bd;return _0x1717c5[_0x203413(0x4e0)]==='application/json'||_0x1717c5['type']===_0x203413(0xe00);}function toErrorMessage(_0x4e57f9){const _0x9d381=a0_0x3e52bd;if(typeof _0x4e57f9===_0x9d381(0x389))return _0x4e57f9;if(_0x4e57f9 instanceof ArrayBuffer)return'Unknown\x20error';if(_0x9d381(0x104b)in _0x4e57f9){const _0x5a0c77='documentation_url'in _0x4e57f9?_0x9d381(0x1273)+_0x4e57f9['documentation_url']:'';return Array[_0x9d381(0x1463)](_0x4e57f9[_0x9d381(0xce1)])?_0x4e57f9['message']+':\x20'+_0x4e57f9['errors'][_0x9d381(0x926)](_0x2a48ef=>JSON['stringify'](_0x2a48ef))[_0x9d381(0x17ee)](',\x20')+_0x5a0c77:''+_0x4e57f9[_0x9d381(0x104b)]+_0x5a0c77;}return'Unknown\x20error:\x20'+JSON['stringify'](_0x4e57f9);}function withDefaults$1(_0x34aac5,_0x5336f1){const _0x35552b=a0_0x3e52bd,_0x49899b=_0x34aac5[_0x35552b(0x17cf)](_0x5336f1),_0x40cc67=function(_0x25d83d,_0x554ef4){const _0x85352=_0x35552b,_0x3195d4=_0x49899b['merge'](_0x25d83d,_0x554ef4);if(!_0x3195d4[_0x85352(0x56c)]||!_0x3195d4['request']['hook'])return fetchWrapper(_0x49899b[_0x85352(0x14c7)](_0x3195d4));const _0x3f51af=(_0x23509d,_0x2bd654)=>{const _0x29b7b9=_0x85352;return fetchWrapper(_0x49899b[_0x29b7b9(0x14c7)](_0x49899b[_0x29b7b9(0x132a)](_0x23509d,_0x2bd654)));};return Object[_0x85352(0x15ee)](_0x3f51af,{'endpoint':_0x49899b,'defaults':withDefaults$1[_0x85352(0x26e)](null,_0x49899b)}),_0x3195d4[_0x85352(0x56c)][_0x85352(0xc89)](_0x3f51af,_0x3195d4);};return Object[_0x35552b(0x15ee)](_0x40cc67,{'endpoint':_0x49899b,'defaults':withDefaults$1[_0x35552b(0x26e)](null,_0x49899b)});}var request=withDefaults$1(endpoint,defaults_default),VERSION$3=a0_0x3e52bd(0x86c);function _buildMessageForResponseErrors(_0x458267){const _0x5408e8=a0_0x3e52bd;return'Request\x20failed\x20due\x20to\x20following\x20response\x20errors:\x0a'+_0x458267['errors']['map'](_0x427cfc=>'\x20-\x20'+_0x427cfc[_0x5408e8(0x104b)])[_0x5408e8(0x17ee)]('\x0a');}var GraphqlResponseError=class extends Error{constructor(_0x562fc7,_0x15e722,_0x26b3e7){const _0x1e272a=a0_0x3e52bd;super(_buildMessageForResponseErrors(_0x26b3e7)),this[_0x1e272a(0x56c)]=_0x562fc7,this[_0x1e272a(0x11cc)]=_0x15e722,this[_0x1e272a(0x74d)]=_0x26b3e7,this[_0x1e272a(0xce1)]=_0x26b3e7[_0x1e272a(0xce1)],this[_0x1e272a(0x439)]=_0x26b3e7['data'],Error[_0x1e272a(0xc08)]&&Error[_0x1e272a(0xc08)](this,this[_0x1e272a(0xf89)]);}[a0_0x3e52bd(0x3ce)]=a0_0x3e52bd(0xd70);[a0_0x3e52bd(0xce1)];[a0_0x3e52bd(0x439)];},NON_VARIABLE_OPTIONS=[a0_0x3e52bd(0x4b0),'baseUrl','url','headers',a0_0x3e52bd(0x56c),a0_0x3e52bd(0x466),'mediaType','operationName'],FORBIDDEN_VARIABLE_OPTIONS=['query',a0_0x3e52bd(0x4b0),'url'],GHES_V3_SUFFIX_REGEX=/\/api\/v3\/?$/;function graphql(_0x4c4d58,_0x2a8ba6,_0x476c28){const _0x55361d=a0_0x3e52bd;if(_0x476c28){if(typeof _0x2a8ba6===_0x55361d(0x389)&&_0x55361d(0x466)in _0x476c28)return Promise[_0x55361d(0x1865)](new Error(_0x55361d(0xbc0)));for(const _0xebab0a in _0x476c28){if(!FORBIDDEN_VARIABLE_OPTIONS[_0x55361d(0x14e4)](_0xebab0a))continue;return Promise[_0x55361d(0x1865)](new Error(_0x55361d(0x144c)+_0xebab0a+_0x55361d(0x129b)));}}const _0x3f5334=typeof _0x2a8ba6===_0x55361d(0x389)?Object['assign']({'query':_0x2a8ba6},_0x476c28):_0x2a8ba6,_0x3fb3cd=Object['keys'](_0x3f5334)[_0x55361d(0x13c6)]((_0x67577b,_0x12c435)=>{const _0x442d0c=_0x55361d;if(NON_VARIABLE_OPTIONS[_0x442d0c(0x14e4)](_0x12c435))return _0x67577b[_0x12c435]=_0x3f5334[_0x12c435],_0x67577b;return!_0x67577b[_0x442d0c(0x703)]&&(_0x67577b[_0x442d0c(0x703)]={}),_0x67577b[_0x442d0c(0x703)][_0x12c435]=_0x3f5334[_0x12c435],_0x67577b;},{}),_0x5cd3fb=_0x3f5334[_0x55361d(0x182d)]||_0x4c4d58[_0x55361d(0x551)][_0x55361d(0xfa1)][_0x55361d(0x182d)];return GHES_V3_SUFFIX_REGEX['test'](_0x5cd3fb)&&(_0x3fb3cd[_0x55361d(0x1e4)]=_0x5cd3fb[_0x55361d(0xc4b)](GHES_V3_SUFFIX_REGEX,'/api/graphql')),_0x4c4d58(_0x3fb3cd)[_0x55361d(0x10a8)](_0x5758f2=>{const _0x36ea9f=_0x55361d;if(_0x5758f2[_0x36ea9f(0x439)][_0x36ea9f(0xce1)]){const _0x1fee02={};for(const _0x5e5b22 of Object[_0x36ea9f(0x110d)](_0x5758f2[_0x36ea9f(0x11cc)])){_0x1fee02[_0x5e5b22]=_0x5758f2[_0x36ea9f(0x11cc)][_0x5e5b22];}throw new GraphqlResponseError(_0x3fb3cd,_0x1fee02,_0x5758f2['data']);}return _0x5758f2[_0x36ea9f(0x439)][_0x36ea9f(0x439)];});}function withDefaults(_0x27e736,_0x1ed89c){const _0x3e0ef6=a0_0x3e52bd,_0x11f4dd=_0x27e736['defaults'](_0x1ed89c),_0x5159c4=(_0x11492c,_0x3b4eef)=>{return graphql(_0x11f4dd,_0x11492c,_0x3b4eef);};return Object[_0x3e0ef6(0x15ee)](_0x5159c4,{'defaults':withDefaults[_0x3e0ef6(0x26e)](null,_0x11f4dd),'endpoint':_0x11f4dd[_0x3e0ef6(0x551)]});}withDefaults(request,{'headers':{'user-agent':a0_0x3e52bd(0x11a0)+VERSION$3+'\x20'+getUserAgent()},'method':a0_0x3e52bd(0x28f),'url':a0_0x3e52bd(0x14b0)});function withCustomRequest(_0x2d7fe3){const _0x5b28c2=a0_0x3e52bd;return withDefaults(_0x2d7fe3,{'method':_0x5b28c2(0x28f),'url':_0x5b28c2(0x14b0)});}var b64url=a0_0x3e52bd(0x995),sep='\x5c.',jwtRLine truncated
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gradle-actions-caching",
|
||||
"version": "0.9.1",
|
||||
"version": "0.9.2",
|
||||
"type": "module",
|
||||
"main": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
|
||||
Reference in new issue
Block a user