Skip to content

Commit 91e1086

Browse files
committed
debug: add some logging to debug bcr action
1 parent 0bea5cc commit 91e1086

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/create-bcr-entry.mjs

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
copyFileSync,
77
writeFileSync,
88
appendFileSync,
9+
readdirSync,
910
} from "fs";
1011
import https from "https";
1112
import { resolve } from "path";
@@ -156,7 +157,10 @@ async function stampSourceFile(
156157
sourceJson.url.lastIndexOf("/") + 1
157158
);
158159

160+
console.log(`Downloading archive ${sourceJson.url}`);
159161
await download(sourceJson.url, filename);
162+
console.log("Finished downloading");
163+
console.log(readdirSync("."));
160164

161165
const hash = crypto.createHash("sha256");
162166
hash.update(readFileSync(filename));

0 commit comments

Comments
 (0)