File tree Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Expand file tree Collapse file tree 2 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -480,21 +480,21 @@ function exec(cmd) {
480480try {
481481 const version = core . getInput ( 'version' ) ;
482482 console . log ( `Installing foundationdb ${ version } (${ os . platform ( ) } )!` ) ;
483- let base_url = `https://www. foundationdb.org/downloads /${ version } ` ;
483+ let base_url = `https://github.com/apple/ foundationdb/releases/download /${ version } ` ;
484484 switch ( os . platform ( ) ) {
485485 case 'linux' : {
486- let client_url = `${ base_url } /ubuntu/installers/ foundationdb-clients_${ version } -1_amd64.deb` ;
487- exec ( `curl -O ${ client_url } ` ) ;
486+ let client_url = `${ base_url } /foundationdb-clients_${ version } -1_amd64.deb` ;
487+ exec ( `curl -L - O ${ client_url } ` ) ;
488488 exec ( `sudo dpkg -i foundationdb-clients_${ version } -1_amd64.deb` ) ;
489489
490- let server_url = `${ base_url } /ubuntu/installers/ foundationdb-server_${ version } -1_amd64.deb` ;
491- exec ( `curl -O ${ server_url } ` ) ;
490+ let server_url = `${ base_url } /foundationdb-server_${ version } -1_amd64.deb` ;
491+ exec ( `curl -L - O ${ server_url } ` ) ;
492492 exec ( `sudo dpkg -i foundationdb-server_${ version } -1_amd64.deb` ) ;
493493 break ;
494494 }
495495 case 'darwin' : {
496- let url = `${ base_url } /macOS/installers/ FoundationDB-${ version } .pkg` ;
497- exec ( `curl -O ${ url } ` ) ;
496+ let url = `${ base_url } /FoundationDB-${ version } .pkg` ;
497+ exec ( `curl -L - O ${ url } ` ) ;
498498 exec ( `sudo installer -pkg FoundationDB-${ version } .pkg -target /` ) ;
499499 break ;
500500 }
Original file line number Diff line number Diff line change @@ -11,21 +11,21 @@ function exec(cmd) {
1111try {
1212 const version = core . getInput ( 'version' ) ;
1313 console . log ( `Installing foundationdb ${ version } (${ os . platform ( ) } )!` ) ;
14- let base_url = `https://www. foundationdb.org/downloads /${ version } ` ;
14+ let base_url = `https://github.com/apple/ foundationdb/releases/download /${ version } ` ;
1515 switch ( os . platform ( ) ) {
1616 case 'linux' : {
17- let client_url = `${ base_url } /ubuntu/installers/ foundationdb-clients_${ version } -1_amd64.deb` ;
18- exec ( `curl -O ${ client_url } ` ) ;
17+ let client_url = `${ base_url } /foundationdb-clients_${ version } -1_amd64.deb` ;
18+ exec ( `curl -L - O ${ client_url } ` ) ;
1919 exec ( `sudo dpkg -i foundationdb-clients_${ version } -1_amd64.deb` ) ;
2020
21- let server_url = `${ base_url } /ubuntu/installers/ foundationdb-server_${ version } -1_amd64.deb` ;
22- exec ( `curl -O ${ server_url } ` ) ;
21+ let server_url = `${ base_url } /foundationdb-server_${ version } -1_amd64.deb` ;
22+ exec ( `curl -L - O ${ server_url } ` ) ;
2323 exec ( `sudo dpkg -i foundationdb-server_${ version } -1_amd64.deb` ) ;
2424 break ;
2525 }
2626 case 'darwin' : {
27- let url = `${ base_url } /macOS/installers/ FoundationDB-${ version } .pkg` ;
28- exec ( `curl -O ${ url } ` ) ;
27+ let url = `${ base_url } /FoundationDB-${ version } .pkg` ;
28+ exec ( `curl -L - O ${ url } ` ) ;
2929 exec ( `sudo installer -pkg FoundationDB-${ version } .pkg -target /` ) ;
3030 break ;
3131 }
You can’t perform that action at this time.
0 commit comments