File tree 2 files changed +9
-9
lines changed
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) {
8973
8973
exports . verify = verify ;
8974
8974
function refreshKeys ( ) {
8975
8975
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" ] ;
8983
8977
for ( const server of pool ) {
8984
8978
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...
8985
8985
if ( yield refreshKeysFromServer ( server ) ) {
8986
- core . debug ( `Refresh successful` ) ;
8986
+ core . debug ( `Refresh successful on second attempt ` ) ;
8987
8987
return ;
8988
8988
}
8989
8989
core . debug ( `Refresh failed` ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " setup-swift" ,
3
- "version" : " 1.11 .0" ,
3
+ "version" : " 1.12 .0" ,
4
4
"description" : " Set up GitHub Actions workflow with Swift support" ,
5
5
"private" : true ,
6
6
"main" : " lib/main.js" ,
You can’t perform that action at this time.
0 commit comments