Update build.yml
This commit is contained in:
parent
7e62c96dbf
commit
8d8d7dbe2e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -56,13 +56,13 @@ jobs:
|
|||
console.log('created release', { release });
|
||||
|
||||
for (let file of await fs.readdir('./dist')) {
|
||||
console.log('uploading', file);
|
||||
console.log('uploading', `./dist/${file}`);
|
||||
|
||||
await github.repos.uploadReleaseAsset({
|
||||
owner, repo,
|
||||
release_id: release.data.id,
|
||||
name: file,
|
||||
data: await fs.readFile(`./${file}`)
|
||||
data: await fs.readFile(`./dist/${file}`)
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue