other logging

This commit is contained in:
koeneijkemans 2020-07-05 08:49:01 +02:00
parent ac9e9d46b0
commit abd075dce5

View File

@ -3,7 +3,10 @@ const execlib = require('@actions/exec');
try { try {
getBranchName() getBranchName()
.then(name => core.setOutput("branchname", name)); .then(name => {
console.log(name);
core.setOutput("branchname", name)
});
} catch (error) { } catch (error) {
core.setFailed(error.message); core.setFailed(error.message);
} }
@ -14,7 +17,6 @@ async function getBranchName() {
listeners: { listeners: {
stdout: (data) => { stdout: (data) => {
output += data.toString(); output += data.toString();
console.log(data);
} }
} }
}; };