From 07b63bf19f36bd08a077967ce592e872ee9ea171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez?= Date: Thu, 21 May 2020 10:46:40 +0200 Subject: [PATCH] Use `cp` + `rm -rf` instead of `mv` --- src/coursier.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coursier.ts b/src/coursier.ts index ec61b060..d96a3658 100644 --- a/src/coursier.ts +++ b/src/coursier.ts @@ -17,7 +17,8 @@ export async function install(): Promise { const binPath = '/home/runner/bin' await io.mkdirP(binPath) - await io.mv(temp, path.join(binPath, 'cs')) + await io.cp(temp, path.join(binPath, 'cs')) + await io.rmRF(temp) core.addPath(binPath) } catch (error) {