Compare commits

..
3 Commits
4 changed files with 8 additions and 16 deletions
+2 -2
View File
@@ -18,11 +18,11 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby:
| Interpreter | Versions |
| ----------- | -------- |
| Ruby | 2.2, 2.3.0 - 2.3.8, 2.4.0 - 2.4.9, 2.5.0 - 2.5.7, 2.6.0 - 2.6.5, 2.7.0, head, mingw, mswin |
| JRuby | 9.2.9.0 - 9.2.10.0, head |
| JRuby | 9.2.9.0 - 9.2.11.0, head |
| TruffleRuby | 19.3.0 - 20.0.0, head |
| Rubinius | 4.14 |
`mingw` and `mswin` are `ruby-head` builds using the MSYS2 and MSVC toolchains on Windows.
On Windows, `mingw` and `mswin` are `ruby-head` builds using the MSYS2/MinGW and the MSVC toolchains respectively.
Note that Ruby ≤ 2.3 and the OpenSSL version it needs (1.0.2) are both end-of-life,
which means Ruby ≤ 2.3 is unmaintained and considered insecure.
On Windows, Ruby 2.4 uses OpenSSL 1.0.2, which is no longer maintained.
Generated Vendored
+3 -7
View File
@@ -1391,7 +1391,7 @@ function getVersions(platform) {
"head"
],
"jruby": [
"9.2.9.0", "9.2.10.0",
"9.2.9.0", "9.2.10.0", "9.2.11.0",
"head"
],
"truffleruby": [
@@ -3424,12 +3424,8 @@ async function downloadAndExtract(platform, ruby) {
console.log(url)
const downloadPath = await tc.downloadTool(url)
if (platform.startsWith('windows')) {
let args = [ '-xz', '-C', rubiesDir, '-f', downloadPath ]
await exec.exec('C:\\Windows\\system32\\tar.exe', args)
} else {
await tc.extractTar(downloadPath, rubiesDir)
}
const tar = platform.startsWith('windows') ? 'C:\\Windows\\system32\\tar.exe' : 'tar'
await exec.exec(tar, [ '-xz', '-C', rubiesDir, '-f', downloadPath ])
return path.join(rubiesDir, ruby)
}
+1 -1
View File
@@ -10,7 +10,7 @@ export function getVersions(platform) {
"head"
],
"jruby": [
"9.2.9.0", "9.2.10.0",
"9.2.9.0", "9.2.10.0", "9.2.11.0",
"head"
],
"truffleruby": [
+2 -6
View File
@@ -36,12 +36,8 @@ async function downloadAndExtract(platform, ruby) {
console.log(url)
const downloadPath = await tc.downloadTool(url)
if (platform.startsWith('windows')) {
let args = [ '-xz', '-C', rubiesDir, '-f', downloadPath ]
await exec.exec('C:\\Windows\\system32\\tar.exe', args)
} else {
await tc.extractTar(downloadPath, rubiesDir)
}
const tar = platform.startsWith('windows') ? 'C:\\Windows\\system32\\tar.exe' : 'tar'
await exec.exec(tar, [ '-xz', '-C', rubiesDir, '-f', downloadPath ])
return path.join(rubiesDir, ruby)
}