Added logging for the response.
Some checks failed
Lint / pre-commit Linting (push) Failing after 48s
Some checks failed
Lint / pre-commit Linting (push) Failing after 48s
This commit is contained in:
parent
f8ce3ef53a
commit
19eaad21ff
4
index.js
4
index.js
@ -115,7 +115,9 @@ async function postCode() {
|
|||||||
core.info(JSON.stringify(login_arguments, null, 2));
|
core.info(JSON.stringify(login_arguments, null, 2));
|
||||||
|
|
||||||
const api = new ScreepsAPI(login_arguments);
|
const api = new ScreepsAPI(login_arguments);
|
||||||
await api.code.set(branch, files_to_push);
|
const response = await api.code.set(branch, files_to_push);
|
||||||
|
core.info(response.status);
|
||||||
|
core.info(JSON.stringify(response.json(), null, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
postCode();
|
postCode();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user