This commit is contained in:
parent
7b0ee47c08
commit
f8ce3ef53a
10
index.js
10
index.js
@ -86,6 +86,12 @@ async function postCode() {
|
|||||||
|
|
||||||
const files_to_push = await readFilesIntoDict(pattern, prefix);
|
const files_to_push = await readFilesIntoDict(pattern, prefix);
|
||||||
|
|
||||||
|
Object.keys(files_to_push).forEach(key => {
|
||||||
|
core.info(`Key: ${key}`);
|
||||||
|
});
|
||||||
|
|
||||||
|
core.info(files_to_push);
|
||||||
|
|
||||||
const login_arguments = {
|
const login_arguments = {
|
||||||
"token": token,
|
"token": token,
|
||||||
"username": username,
|
"username": username,
|
||||||
@ -96,6 +102,10 @@ async function postCode() {
|
|||||||
"path": path,
|
"path": path,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Object.keys(login_arguments).forEach(key => {
|
||||||
|
core.info(`Key: ${key}`);
|
||||||
|
});
|
||||||
|
|
||||||
const errorMessage = validateAuthentication(token, username, password);
|
const errorMessage = validateAuthentication(token, username, password);
|
||||||
if (errorMessage) {
|
if (errorMessage) {
|
||||||
core.error(errorMessage);
|
core.error(errorMessage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user