Use fs-extra.moveSync instead of fs.renameSync to move cmdline-tools

fs.renameSync can't rename across drives.
This commit is contained in:
Vilius Sutkus '89
2021-02-03 03:41:47 +02:00
committed by Dave Olsthoorn
parent 6bde8445cd
commit 999dabf39c
3 changed files with 48 additions and 5 deletions

View File

@@ -27,7 +27,8 @@
"dependencies": {
"@actions/cache": "^1.0.6",
"@actions/core": "^1.2.6",
"@actions/tool-cache": "^1.6.1"
"@actions/tool-cache": "^1.6.1",
"fs-extra": "^9.1.0"
},
"devDependencies": {
"@types/jest": "^26.0.20",