Reworked the logging a bit.
Lint / pre-commit Linting (push) Failing after 50s Details

This commit is contained in:
Philipp Horstenkamp 2023-11-26 18:25:42 +01:00
parent 7141ce09e4
commit 13a4c02f45
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4
1 changed files with 1 additions and 4 deletions

View File

@ -107,6 +107,7 @@ async function postCode() {
"path": path,
};
core.info(`Trying to upload the following files to ${branch}:`)
Object.keys(login_arguments).forEach(key => {
core.info(`Key: ${key}`);
});
@ -117,13 +118,9 @@ async function postCode() {
return;
}
core.info(JSON.stringify(login_arguments, null, 2));
const api = new ScreepsAPI(login_arguments);
core.info(`Pushing to branch ${branch}`)
const response = await api.code.set(branch, files_to_push);
core.info(JSON.stringify(response, null, 2));
core.info(JSON.stringify(response.json, null, 2));
}
postCode();