Skip to content

Commit

Permalink
Add debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Sep 22, 2024
1 parent d07bac9 commit eb11752
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/actions/upload-to-r2.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ async function uploadStableArtifacts({ github, context }) {
try {
// upload to r2
console.log(`[${tag}] Starting upload to R2...`);
for (const file of fs.readdirSync(releaseBinDir)) {
const assetDirectory = await fs.promises.readdir(releaseBinDir);

console.log("files", assetDirectory);

for (const file of assetDirectory) {
const assetFilePath = path.join(releaseBinDir, file);
const fileStream = fs.createReadStream(assetFilePath);

Expand Down

0 comments on commit eb11752

Please sign in to comment.