File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -8973,17 +8973,17 @@ function verify(signaturePath, packagePath) {
89738973exports . verify = verify ;
89748974function refreshKeys ( ) {
89758975 return __awaiter ( this , void 0 , void 0 , function * ( ) {
8976- const pool = [
8977- "hkp://pool.sks-keyservers.net" ,
8978- "ha.pool.sks-keyservers.net" ,
8979- "keyserver.ubuntu.com" ,
8980- "hkp://keyserver.ubuntu.com" ,
8981- "pgp.mit.edu" ,
8982- ] ;
8976+ const pool = [ "hkp://keyserver.ubuntu.com" ] ;
89838977 for ( const server of pool ) {
89848978 core . debug ( `Refreshing keys from ${ server } ` ) ;
8979+ // 1st try...
8980+ if ( yield refreshKeysFromServer ( server ) ) {
8981+ core . debug ( `Refresh successful on first attempt` ) ;
8982+ return ;
8983+ }
8984+ // 2nd try...
89858985 if ( yield refreshKeysFromServer ( server ) ) {
8986- core . debug ( `Refresh successful` ) ;
8986+ core . debug ( `Refresh successful on second attempt ` ) ;
89878987 return ;
89888988 }
89898989 core . debug ( `Refresh failed` ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " setup-swift" ,
3- "version" : " 1.11 .0" ,
3+ "version" : " 1.12 .0" ,
44 "description" : " Set up GitHub Actions workflow with Swift support" ,
55 "private" : true ,
66 "main" : " lib/main.js" ,
You can’t perform that action at this time.
0 commit comments