We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00b16bd commit 4358e70Copy full SHA for 4358e70
.github/workflows/build.yml
@@ -346,15 +346,15 @@ jobs:
346
const path = require('path');
347
const fs = require('fs');
348
const release_id = '${{ steps.create_release.outputs.id }}';
349
- for (let file of await fs.readdirSync('./artifact')) {
+ for (let file of await fs.readdirSync('./')) {
350
if (path.extname(file) === '.zip') {
351
console.log('uploadReleaseAsset', file);
352
await github.repos.uploadReleaseAsset({
353
owner: context.repo.owner,
354
repo: context.repo.repo,
355
release_id: release_id,
356
name: file,
357
- data: await fs.readFileSync(`./artifact/${file}`)
+ data: await fs.readFileSync(`./${file}`)
358
});
359
}
360
0 commit comments