mirror of
https://github.com/daydreamer-json/ak-endfield-api-archive.git
synced 2026-03-27 17:52:35 +01:00
ci: gracefully handle duplicate action execution exits
This commit is contained in:
@@ -843,7 +843,8 @@ async function mainCmdHandler() {
|
|||||||
|
|
||||||
if ((await githubUtils.checkIsActionRunning(githubAuthCfg)) === true) {
|
if ((await githubUtils.checkIsActionRunning(githubAuthCfg)) === true) {
|
||||||
logger.error('Duplicate exec of a GitHub Actions workflow has been detected');
|
logger.error('Duplicate exec of a GitHub Actions workflow has been detected');
|
||||||
throw new Error('Github Actions workflow duplicate exec detected');
|
// throw new Error('Github Actions workflow duplicate exec detected');
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const cfg = appConfig.network.api.akEndfield;
|
const cfg = appConfig.network.api.akEndfield;
|
||||||
|
|||||||
Reference in New Issue
Block a user