Skip to content

Commit 4fc46d3

Browse files
committed
mswin openssl - keep in Program Files
1 parent 8dc8a2c commit 4fc46d3

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

dist/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,8 +638,9 @@ const run = async () => {
638638
msSt = grpSt(`choco install ${choco}`)
639639
execSync(`choco install --no-progress ${choco}`)
640640
if (choco.includes('openssl')) {
641-
fs.renameSync('C:\\Program Files\\OpenSSL-Win64', 'C:\\openssl-win')
642-
core.exportVariable('SSL_DIR', '--with-openssl-dir=C:/openssl-win')
641+
// fs.renameSync('C:\\Program Files\\OpenSSL-Win64', 'C:\\openssl-win')
642+
// core.exportVariable('SSL_DIR', '--with-openssl-dir=C:/openssl-win')
643+
core.exportVariable('SSL_DIR', '--with-openssl-dir="C:/Program Files/OpenSSL-Win64"')
643644
}
644645
grpEnd(msSt)
645646
}

dist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-ruby-pkgs",
3-
"version": "1.30.0",
3+
"version": "1.30.1",
44
"description": "Install packages and update builds tools for Ruby",
55
"main": "index.js",
66
"scripts": {

mswin.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,9 @@ export const run = async () => {
4343
msSt = grpSt(`choco install ${choco}`)
4444
execSync(`choco install --no-progress ${choco}`)
4545
if (choco.includes('openssl')) {
46-
fs.renameSync('C:\\Program Files\\OpenSSL-Win64', 'C:\\openssl-win')
47-
core.exportVariable('SSL_DIR', '--with-openssl-dir=C:/openssl-win')
46+
// fs.renameSync('C:\\Program Files\\OpenSSL-Win64', 'C:\\openssl-win')
47+
// core.exportVariable('SSL_DIR', '--with-openssl-dir=C:/openssl-win')
48+
core.exportVariable('SSL_DIR', '--with-openssl-dir="C:/Program Files/OpenSSL-Win64"')
4849
}
4950
grpEnd(msSt)
5051
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "setup-ruby-pkgs",
3-
"version": "1.30.0",
3+
"version": "1.30.1",
44
"description": "Install packages and update builds tools for Ruby",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)