Merge branch 'Blarkdackbyte-patch-1'

This commit is contained in:
Tim Heuer
2022-11-16 08:31:14 -07:00

View File

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