fix: filename

This commit is contained in:
Tom Hu 2023-11-10 10:45:09 +11:00
parent 23e5293615
commit 25aebea8e6
No known key found for this signature in database
GPG key ID: 79155678363963D2
3 changed files with 3 additions and 1 deletions

View file

@ -23,6 +23,7 @@ try {
const platform = getPlatform(os);
const filename = path.join( __dirname, getUploaderName(platform));
core.info(`filename: ${filename}`);
https.get(getBaseUrl(platform, uploaderVersion), (res) => {
const filePath = fs.createWriteStream(filename);