File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const { exec } = __nccwpck_require__(5317);
99const axios = __nccwpck_require__(7269);
1010
1111const maxAttempts = 3; // Maximum number of attempts for retries
12- const waitingTime = 1000 ; // Initial waiting time in milliseconds
12+ const waitingTime = 5000 ; // Initial waiting time in milliseconds
1313
1414
1515module.exports = async function () {
@@ -25,7 +25,7 @@ module.exports = async function () {
2525 let attempt = 1;
2626 let success = false;
2727 core.info(`🔁 Attempting to get the latest DuckDB version (max attempts: ${maxAttempts})`);
28- while (attempt < maxAttempts && !success) {
28+ while (attempt <= maxAttempts && !success) {
2929 core.info(`🔁 Attempt ${attempt}/${maxAttempts} to get the latest DuckDB version...`);
3030 try {
3131 core.info(`🔍 Attempting to fetch latest DuckDB version from GitHub API...`);
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const { exec } = require('child_process');
33const axios = require ( 'axios' ) ;
44
55const maxAttempts = 3 ; // Maximum number of attempts for retries
6- const waitingTime = 1000 ; // Initial waiting time in milliseconds
6+ const waitingTime = 5000 ; // Initial waiting time in milliseconds
77
88
99module . exports = async function ( ) {
@@ -19,7 +19,7 @@ module.exports = async function () {
1919 let attempt = 1 ;
2020 let success = false ;
2121 core . info ( `🔁 Attempting to get the latest DuckDB version (max attempts: ${ maxAttempts } )` ) ;
22- while ( attempt < maxAttempts && ! success ) {
22+ while ( attempt <= maxAttempts && ! success ) {
2323 core . info ( `🔁 Attempt ${ attempt } /${ maxAttempts } to get the latest DuckDB version...` ) ;
2424 try {
2525 core . info ( `🔍 Attempting to fetch latest DuckDB version from GitHub API...` ) ;
You can’t perform that action at this time.
0 commit comments