From b15db8cdc33c21e99a3c61a83bd08e7d87d43a26 Mon Sep 17 00:00:00 2001 From: HolographicHat Date: Wed, 23 Nov 2022 14:40:57 +0800 Subject: [PATCH] fix post build script --- .github/postbuild.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) } })() +