replace console.log with core.debug

This commit is contained in:
Basti
2022-11-16 15:39:51 +01:00
committed by GitHub
parent 7a19b8252f
commit 047beb5579

View File

@@ -15,7 +15,7 @@ var encodedString = core.getInput('encodedString');
// most @actions toolkit packages have async methods
async function run() {
try {
console.log(process.env);
core.debug(process.env);
const tempFile = Buffer.from(encodedString, 'base64');
if (tempFile.length == 0)
@@ -23,7 +23,7 @@ async function run() {
fse.outputFile(fileName, tempFile, (err) => {
if (err) throw err;
console.log('Wrote file!');
core.debug('Wrote file!');
});
core.setOutput('filePath', fileName);