Compare commits
2 Commits
2b9a04a136
...
af0e213e80
Author | SHA1 | Date |
---|---|---|
Philipp Horstenkamp | af0e213e80 | |
Philipp Horstenkamp | 8eebf7bb27 |
4
index.js
4
index.js
|
@ -119,7 +119,7 @@ async function postCode() {
|
|||
core.info(JSON.stringify(response, null, 2));
|
||||
} else {
|
||||
core.info(`Logging into as user ${username}`);
|
||||
const response = Promise.resolve()
|
||||
const response = await Promise.resolve()
|
||||
.then(() => api.auth(username, password, login_arguments))
|
||||
.then(() => {
|
||||
return api.code.set(branch, files_to_push);
|
||||
|
@ -130,8 +130,8 @@ async function postCode() {
|
|||
.catch((err) => {
|
||||
console.error("Error:", err);
|
||||
});
|
||||
core.info("Authorized!");
|
||||
core.info(JSON.stringify(response, null, 2));
|
||||
core.info("Authorized!");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue