mirror of
https://github.com/catdevnull/preciazo.git
synced 2025-02-23 10:56:25 +00:00
github rerun doesn't work
This commit is contained in:
parent
3c6a1f1dee
commit
9688910edc
1 changed files with 0 additions and 4 deletions
|
@ -46,10 +46,6 @@ async function getRawDatasetInfo(attempts = 0) {
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (attempts >= 4) {
|
if (attempts >= 4) {
|
||||||
console.error(`❌ Error fetching dataset info`, error);
|
console.error(`❌ Error fetching dataset info`, error);
|
||||||
if (process.env.GITHUB_RUN_ID) {
|
|
||||||
console.info(`🔄 Retrying action`);
|
|
||||||
await $`gh run rerun ${process.env.GITHUB_RUN_ID} --workflow sepa-precios-archiver`;
|
|
||||||
}
|
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
console.error(
|
console.error(
|
||||||
|
|
Loading…
Reference in a new issue