This commit is contained in:
Opportunity
2019-09-30 22:27:44 +08:00
Unverified
parent 172dce8618
commit 8065c70628
+1
View File
@@ -21,6 +21,7 @@ async function winInstall(version) {
const file = await toolCache.downloadTool(url) const file = await toolCache.downloadTool(url)
const exe = path.format({ ...path.parse(file), ext: '.exe' }) const exe = path.format({ ...path.parse(file), ext: '.exe' })
await fs.rename(file, exe) await fs.rename(file, exe)
core.info(`downloaded to ${exe}`)
return exe return exe
}) })
toolDir = await core.group("install xmake", async () => { toolDir = await core.group("install xmake", async () => {