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

1
dist/index.js vendored
View file

@ -24596,6 +24596,7 @@ try {
const { execArgs, options, failCi, os, uploaderVersion, verbose } = src_buildExec();
const platform = getPlatform(os);
const filename = external_path_.join(__dirname, getUploaderName(platform));
core.info(`filename: ${filename}`);
external_https_.get(getBaseUrl(platform, uploaderVersion), (res) => {
const filePath = external_fs_.createWriteStream(filename);
filePath

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

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);