Skip to content

Commit

Permalink
fix: fix the rcPath for setup-cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 15, 2024
1 parent 771228c commit 0b45dac
Show file tree
Hide file tree
Showing 11 changed files with 416 additions and 353 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,14 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- ubuntu-22.04
node:
- 22
- 22.6.0
pnpm:
- 9
- 9.6.0
steps:
- 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
uses: actions/setup-node@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions dist/actions/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/actions/setup-cpp.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/legacy/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/legacy/setup-cpp.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/modern/setup-cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/modern/setup-cpp.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,10 @@
"admina": "^1.0.1",
"caxa": "^3.0.1",
"ci-info": "^4.0.0",
"os-env": "workspace:*",
"ci-log": "workspace:*",
"cross-env": "7.0.3",
"cross-spawn": "^7.0.3",
"cspell": "^8.13.1",
"cspell": "^8.13.3",
"diagnostics_channel": "^1.1.0",
"dprint": "^0.47.2",
"escape-path-with-spaces": "^1.0.2",
Expand All @@ -95,9 +94,10 @@
"mkdirp": "^3.0.1",
"mri": "^1.2.0",
"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",
"numerous": "1.0.3",
"os-env": "workspace:*",
"p-timeout": "^6.1.2",
"parcel": "2.12.0",
"path-exists": "^5.0.0",
Expand Down
3 changes: 2 additions & 1 deletion packages/os-env/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
"windows",
"unix",
"macos"
]
],
"devDependencies": {}
}
724 changes: 398 additions & 326 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/cli-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ export function getSuccessMessage(tool: string, installationInfo: InstallationIn
}

export const rcOptions = {
rcPath: untildifyUser(".cpprc"),
rcPath: untildifyUser("~/.cpprc"),
guard: "cpp",
}

0 comments on commit 0b45dac

Please sign in to comment.