aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2019-11-13 18:38:02 -0500
committerJakob Odersky <jakob@odersky.com>2019-11-13 18:38:02 -0500
commit2f862d2567414881a7befdf745331bb9457e9603 (patch)
treed4e1c383eb8ed34d285b20f7f10b16418688ee19
parent289b6bcdb6d0cef4e70d81989d4911cc04ca3f14 (diff)
downloadsetup-mill-2f862d2567414881a7befdf745331bb9457e9603.tar.gz
setup-mill-2f862d2567414881a7befdf745331bb9457e9603.tar.bz2
setup-mill-2f862d2567414881a7befdf745331bb9457e9603.zip
Overwrite existing mill wrappersv0.1.4
-rw-r--r--setup.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.js b/setup.js
index 68bde3b..2e83f83 100644
--- a/setup.js
+++ b/setup.js
@@ -16,7 +16,7 @@ async function run() {
core.info('downloading mill');
const downloadPath = await tc.downloadTool(`https://github.com/lihaoyi/mill/releases/download/${millVersion}/${millVersion}-assembly`);
await io.mkdirP('mill');
- await io.cp(downloadPath, 'mill/mill');
+ await io.cp(downloadPath, 'mill/mill', { force: true });
fs.chmodSync('mill/mill', '0755')
millPath = await tc.cacheDir('mill', 'mill', millVersion);
} else {