From 91e1086f793c9a7b8a79f38d6838c221d78ce537 Mon Sep 17 00:00:00 2001 From: Derek Cormier Date: Mon, 2 May 2022 19:37:43 -0700 Subject: [PATCH] debug: add some logging to debug bcr action --- .github/workflows/create-bcr-entry.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/create-bcr-entry.mjs b/.github/workflows/create-bcr-entry.mjs index 71e2d24..72d95dc 100755 --- a/.github/workflows/create-bcr-entry.mjs +++ b/.github/workflows/create-bcr-entry.mjs @@ -6,6 +6,7 @@ import { copyFileSync, writeFileSync, appendFileSync, + readdirSync, } from "fs"; import https from "https"; import { resolve } from "path"; @@ -156,7 +157,10 @@ async function stampSourceFile( sourceJson.url.lastIndexOf("/") + 1 ); + console.log(`Downloading archive ${sourceJson.url}`); await download(sourceJson.url, filename); + console.log("Finished downloading"); + console.log(readdirSync(".")); const hash = crypto.createHash("sha256"); hash.update(readFileSync(filename));