mirror of https://github.com/aminya/setup-cpp
fix: untildify the installation path
This commit is contained in:
parent
21b816c605
commit
801ebf86b8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -44,6 +44,7 @@
|
|||
"hasha": "^5.2.2",
|
||||
"mri": "^1.2.0",
|
||||
"semver": "^7.3.5",
|
||||
"untildify": "^4.0.0",
|
||||
"which": "^2.0.2"
|
||||
},
|
||||
"pnpm": {
|
||||
|
|
|
@ -32,6 +32,7 @@ importers:
|
|||
terser-config-atomic: ^0.1.1
|
||||
ts-jest: ^27.0.5
|
||||
typescript: ^4.4.3
|
||||
untildify: ^4.0.0
|
||||
which: ^2.0.2
|
||||
dependencies:
|
||||
'@actions/core': 1.5.0
|
||||
|
@ -41,6 +42,7 @@ importers:
|
|||
hasha: 5.2.2
|
||||
mri: 1.2.0
|
||||
semver: 7.3.5
|
||||
untildify: 4.0.0
|
||||
which: 2.0.2
|
||||
devDependencies:
|
||||
'@types/cross-spawn': 6.0.2
|
||||
|
@ -8431,6 +8433,11 @@ packages:
|
|||
isobject: 3.0.1
|
||||
dev: true
|
||||
|
||||
/untildify/4.0.0:
|
||||
resolution: {integrity: sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==}
|
||||
engines: {node: '>=8'}
|
||||
dev: false
|
||||
|
||||
/uri-js/4.4.1:
|
||||
resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==}
|
||||
dependencies:
|
||||
|
|
|
@ -14,6 +14,7 @@ import { setupNinja } from "./ninja/ninja"
|
|||
import { setupOpencppcoverage } from "./opencppcoverage/opencppcoverage"
|
||||
import { setupPython } from "./python/python"
|
||||
import mri from "mri"
|
||||
import untildify from "untildify"
|
||||
|
||||
import semverValid from "semver/functions/valid"
|
||||
import { getVersion } from "./default_versions"
|
||||
|
@ -83,7 +84,7 @@ export async function main(args: string[]): Promise<number> {
|
|||
const arch = opts.architecture ?? process.arch
|
||||
|
||||
// the installation dir for the tools that are downloaded directly
|
||||
const setupCppDir = process.env.SETUP_CPP_DIR ?? "~/setup_cpp"
|
||||
const setupCppDir = process.env.SETUP_CPP_DIR ?? untildify("~/setup_cpp")
|
||||
|
||||
// report messages
|
||||
const successMessages: string[] = []
|
||||
|
|
Loading…
Reference in New Issue