fix: fix the rcPath for setup-cpp

This commit is contained in:
Amin Yahyaabadi 2024-08-15 14:54:05 -07:00
parent 771228c4ae
commit 0b45dac798
No known key found for this signature in database
GPG Key ID: F52AF77F636088F0
11 changed files with 416 additions and 353 deletions

View File

@ -22,24 +22,14 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: os:
- ubuntu-24.04 - ubuntu-22.04
node: node:
- 22 - 22.6.0
pnpm: pnpm:
- 9 - 9.6.0
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v4
with:
path: |
~/.pnpm-store
D:\.pnpm-store
key: "setupcpp-cache-OS:${{ matrix.os }}-node:${{ matrix.node }}-pnpm:${{ matrix.pnpm }}-${{ hashFiles('./.npmrc') }}-deps:${{ hashFiles('./package.json') }}"
restore-keys: |
"setupcpp-cache-OS:${{ matrix.os }}-"
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -74,11 +74,10 @@
"admina": "^1.0.1", "admina": "^1.0.1",
"caxa": "^3.0.1", "caxa": "^3.0.1",
"ci-info": "^4.0.0", "ci-info": "^4.0.0",
"os-env": "workspace:*",
"ci-log": "workspace:*", "ci-log": "workspace:*",
"cross-env": "7.0.3", "cross-env": "7.0.3",
"cross-spawn": "^7.0.3", "cross-spawn": "^7.0.3",
"cspell": "^8.13.1", "cspell": "^8.13.3",
"diagnostics_channel": "^1.1.0", "diagnostics_channel": "^1.1.0",
"dprint": "^0.47.2", "dprint": "^0.47.2",
"escape-path-with-spaces": "^1.0.2", "escape-path-with-spaces": "^1.0.2",
@ -95,9 +94,10 @@
"mkdirp": "^3.0.1", "mkdirp": "^3.0.1",
"mri": "^1.2.0", "mri": "^1.2.0",
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd", "msvc-dev-cmd": "github:aminya/msvc-dev-cmd#c01f519bd995460228ed3dec4df51df92dc290fd",
"npm-check-updates": "^17.0.3", "npm-check-updates": "^17.0.6",
"npm-run-all2": "^6.2.2", "npm-run-all2": "^6.2.2",
"numerous": "1.0.3", "numerous": "1.0.3",
"os-env": "workspace:*",
"p-timeout": "^6.1.2", "p-timeout": "^6.1.2",
"parcel": "2.12.0", "parcel": "2.12.0",
"path-exists": "^5.0.0", "path-exists": "^5.0.0",

View File

@ -38,5 +38,6 @@
"windows", "windows",
"unix", "unix",
"macos" "macos"
] ],
"devDependencies": {}
} }

File diff suppressed because it is too large Load Diff

View File

@ -74,6 +74,6 @@ export function getSuccessMessage(tool: string, installationInfo: InstallationIn
} }
export const rcOptions = { export const rcOptions = {
rcPath: untildifyUser(".cpprc"), rcPath: untildifyUser("~/.cpprc"),
guard: "cpp", guard: "cpp",
} }