Skip to content

Commit 865e335

Browse files
committed
MinGW OpenSSL - move 1.0.2 pkg from BinTray
1 parent c7c05fd commit 865e335

File tree

4 files changed

+14
-18
lines changed

4 files changed

+14
-18
lines changed

dist/index.js

+6-8
Original file line numberDiff line numberDiff line change
@@ -452,19 +452,17 @@ const openssl = async () => {
452452
})
453453

454454
if (ruby.abiVers === '2.4.0') {
455-
let uri = `https://dl.bintray.com/larskanis/rubyinstaller2-packages/${pre.trim()}openssl-1.0.2.u-1-any.pkg.tar.zst`
455+
let uri = 'https://github.com/MSP-Greg/ruby-loco/releases/download/old-ruby/mingw-w64-x86_64-openssl-1.0.2.u-1-any.pkg.tar.zst'
456456
let fn = `${dlPath}\\ri2.tar.zst`
457457
msSt = grpSt('install 2.4 OpenSSL')
458458

459-
if (!RELEASE_ASSET) {
460-
// appveyor ri2 package signing key
461-
// let key = 'F98B8484BE8BF1C5'
462-
// execSync(`bash.exe -c "pacman-key --recv-keys ${key}"`)
463-
// execSync(`bash.exe -c "pacman-key --lsign-key ${key}"`)
464-
}
459+
// appveyor ri2 package signing key
460+
let key = 'F98B8484BE8BF1C5'
461+
execSync(`bash.exe -c "pacman-key --recv-keys ${key}"`)
462+
execSync(`bash.exe -c "pacman-key --lsign-key ${key}"`)
465463

466464
await download(uri, fn)
467-
// await download(`${uri}.sig`, `${fn}.sig`)
465+
await download(`${uri}.sig`, `${fn}.sig`)
468466
execSync(`pacman.exe -Udd --noconfirm --noprogressbar ${fn}`)
469467
grpEnd(msSt)
470468
mingw = mingw.replace(/\bopenssl\b/gi, '').trim()

dist/package.json

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

mingw.js

+6-8
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,17 @@ const openssl = async () => {
7777
})
7878

7979
if (ruby.abiVers === '2.4.0') {
80-
let uri = `https://dl.bintray.com/larskanis/rubyinstaller2-packages/${pre.trim()}openssl-1.0.2.u-1-any.pkg.tar.zst`
80+
let uri = 'https://github.com/MSP-Greg/ruby-loco/releases/download/old-ruby/mingw-w64-x86_64-openssl-1.0.2.u-1-any.pkg.tar.zst'
8181
let fn = `${dlPath}\\ri2.tar.zst`
8282
msSt = grpSt('install 2.4 OpenSSL')
8383

84-
if (!RELEASE_ASSET) {
85-
// appveyor ri2 package signing key
86-
// let key = 'F98B8484BE8BF1C5'
87-
// execSync(`bash.exe -c "pacman-key --recv-keys ${key}"`)
88-
// execSync(`bash.exe -c "pacman-key --lsign-key ${key}"`)
89-
}
84+
// appveyor ri2 package signing key
85+
let key = 'F98B8484BE8BF1C5'
86+
execSync(`bash.exe -c "pacman-key --recv-keys ${key}"`)
87+
execSync(`bash.exe -c "pacman-key --lsign-key ${key}"`)
9088

9189
await download(uri, fn)
92-
// await download(`${uri}.sig`, `${fn}.sig`)
90+
await download(`${uri}.sig`, `${fn}.sig`)
9391
execSync(`pacman.exe -Udd --noconfirm --noprogressbar ${fn}`)
9492
grpEnd(msSt)
9593
mingw = mingw.replace(/\bopenssl\b/gi, '').trim()

package.json

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

0 commit comments

Comments
 (0)