diff --git a/.github/postbuild.js b/.github/postbuild.js index 2fc2a75..ce0154d 100644 --- a/.github/postbuild.js +++ b/.github/postbuild.js @@ -10,9 +10,10 @@ const utils = require("./utils"); } for (const path of fs.readdirSync("out")) { console.log(`upload ${path}...`) - await utils.uploadReleaseAsset(releaseInfo["upload_url"], path) + await utils.uploadReleaseAsset(releaseInfo["upload_url"], `out/${path}`) } } catch (e) { console.log(e) } })() +