mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 22:44:20 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a30dfa457a | ||
|
|
003a5c4d8d | ||
|
|
8e41b362d2 | ||
|
|
6e5d382445 | ||
|
|
d45b1a4e94 | ||
|
|
0dafeac902 | ||
|
|
bf35c27edc | ||
|
|
9eb537ca03 | ||
|
|
e1a3b100ca | ||
|
|
0df5288f06 | ||
|
|
89f90524b8 | ||
|
|
12fd324f1d | ||
|
|
a99ac84464 | ||
|
|
afeafc3d1a | ||
|
|
28c65f7bd3 | ||
|
|
97ecb7b512 | ||
|
|
6aaa311d81 | ||
|
|
f02c009132 | ||
|
|
98bfeb1244 | ||
|
|
59a7680cc6 | ||
|
|
6459287fd0 | ||
|
|
c4e5b13161 | ||
|
|
0cb964fd54 | ||
|
|
94e4d89d3e | ||
|
|
60ecfba875 | ||
|
|
7372622e62 | ||
|
|
4c56a21280 | ||
|
|
5d9c71d71b | ||
|
|
e65c17d16e | ||
|
|
ba696adf55 | ||
|
|
2327de0bdc | ||
|
|
3ff19f5e2b | ||
|
|
4dc28cf14d | ||
|
|
c515ec17f6 | ||
|
|
eab2afb994 | ||
|
|
97b3338466 | ||
|
|
319994f95f | ||
|
|
c984c1a20b | ||
|
|
dffb23f65a | ||
|
|
ea73ddb198 | ||
|
|
4eb9f110ba | ||
|
|
9d13dd6ce2 | ||
|
|
6ca151fd1b | ||
|
|
74138471e3 | ||
|
|
b3cff1b264 | ||
|
|
19a43a6a24 | ||
|
|
896e71e063 | ||
|
|
0fa965176e | ||
|
|
19a9babd00 | ||
|
|
7f562e2882 | ||
|
|
0fc657d48d | ||
|
|
9fd324aef7 | ||
|
|
0f5cc21a92 | ||
|
|
2a50164d0e | ||
|
|
14a4f5d1cc | ||
|
|
09a7688d3b | ||
|
|
67178a2693 | ||
|
|
ede5b7227f | ||
|
|
aaddd6855e | ||
|
|
c7aa9f4008 | ||
|
|
8d27f39a5e | ||
|
|
90be1154f9 |
@@ -0,0 +1,47 @@
|
||||
name: Check new RubyInstaller releases
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 7,19 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
check_windows_versions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- run: ruby generate-windows-versions.rb
|
||||
|
||||
- id: diff
|
||||
run: git diff --exit-code
|
||||
continue-on-error: true
|
||||
|
||||
- if: ${{ steps.diff.outcome == 'failure' }} # changed
|
||||
run: ./pre-commit
|
||||
shell: bash
|
||||
|
||||
# See https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#push-pull-request-branches-to-a-fork
|
||||
- if: ${{ steps.diff.outcome == 'failure' }} # changed
|
||||
uses: peter-evans/create-pull-request@v8
|
||||
id: pr
|
||||
with:
|
||||
push-to-fork: ruby-builder-bot/setup-ruby
|
||||
author: ruby-builder-bot <98265520+ruby-builder-bot@users.noreply.github.com>
|
||||
committer: ruby-builder-bot <98265520+ruby-builder-bot@users.noreply.github.com>
|
||||
title: Update CRuby releases on Windows
|
||||
commit-message: Update CRuby releases on Windows
|
||||
body: |
|
||||
Automated PR from the check-new-windows-versions.yml workflow.
|
||||
|
||||
@eregon @MSP-Greg @ntkme @flavorjones @larskanis @headius Please merge this PR if the diff is correct.
|
||||
And then release setup-ruby by [running the release workflow](https://github.com/ruby/setup-ruby/actions/workflows/release.yml).
|
||||
branch: windows
|
||||
delete-branch: true
|
||||
token: ${{ secrets.PR_FROM_RUBY_BUILDER_TOKEN }}
|
||||
|
||||
- if: ${{ steps.diff.outcome == 'failure' }} # changed
|
||||
name: PR URL
|
||||
run: echo "${{ steps.pr.outputs.pull-request-url }}"
|
||||
shell: bash
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_REPO: ${{ github.repository }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: ./
|
||||
|
||||
+23
-26
@@ -18,7 +18,7 @@ jobs:
|
||||
outputs:
|
||||
matrix: ${{ steps.matrix.outputs.matrix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: ruby
|
||||
@@ -37,7 +37,7 @@ jobs:
|
||||
name: ${{ matrix.os }} ${{ matrix.ruby }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
|
||||
- uses: ./
|
||||
with:
|
||||
@@ -135,15 +135,12 @@ jobs:
|
||||
- name: bash test
|
||||
shell: bash
|
||||
run: echo ~ && bundle install
|
||||
- name: Windows JRuby
|
||||
if: runner.os == 'Windows' && startsWith(matrix.ruby, 'jruby')
|
||||
run: gem install sassc
|
||||
|
||||
testDotRubyVersion:
|
||||
name: "Test .ruby-version"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- run: echo "ruby-3.4.0" > .ruby-version
|
||||
- uses: ./
|
||||
- run: ruby -v | grep -F "ruby 3.4.0"
|
||||
@@ -152,7 +149,7 @@ jobs:
|
||||
name: "Test .tool-versions"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- run: echo -e "nodejs 16.0.0\nruby 3.4.0" > .tool-versions
|
||||
- uses: ./
|
||||
- run: ruby -v | grep -F "ruby 3.4.0"
|
||||
@@ -161,7 +158,7 @@ jobs:
|
||||
name: "Test mise.toml"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- run: echo -e "[tools]\nnode = '18'\nruby = '3.4.0'" > mise.toml
|
||||
- uses: ./
|
||||
- run: ruby -v | grep -F "ruby 3.4.0"
|
||||
@@ -170,7 +167,7 @@ jobs:
|
||||
name: "Test with no Gemfile"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- run: rm Gemfile
|
||||
- uses: ./
|
||||
with:
|
||||
@@ -181,7 +178,7 @@ jobs:
|
||||
name: "Test with no Gemfile but with bundler-cache"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- run: rm Gemfile
|
||||
- uses: ./
|
||||
with:
|
||||
@@ -204,7 +201,7 @@ jobs:
|
||||
- { ruby: '2.3', expected_rubygems_version: '3.3.27' }
|
||||
- { ruby: '2.0', expected_rubygems_version: '2.7.11' }
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
@@ -215,7 +212,7 @@ jobs:
|
||||
name: "Test rubygems: version upgrades RubyGems to that version if the default is older"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.6'
|
||||
@@ -226,7 +223,7 @@ jobs:
|
||||
name: "Test rubygems: version noops if the default is newer"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '3.1.0'
|
||||
@@ -237,7 +234,7 @@ jobs:
|
||||
name: "Test rubygems: version uses the Bundler installed by the rubygems update"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '3.1.0'
|
||||
@@ -249,7 +246,7 @@ jobs:
|
||||
name: "Test bundler: 1.x for old Ruby"
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.3'
|
||||
@@ -260,7 +257,7 @@ jobs:
|
||||
name: "Test with a major Bundler version"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.6'
|
||||
@@ -271,7 +268,7 @@ jobs:
|
||||
name: "Test with a minor Bundler version"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.6'
|
||||
@@ -282,7 +279,7 @@ jobs:
|
||||
name: "Test with an exact Bundler version"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.6'
|
||||
@@ -294,7 +291,7 @@ jobs:
|
||||
name: "Test with an older Bundler version than the one of the default gem"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '4.0'
|
||||
@@ -306,7 +303,7 @@ jobs:
|
||||
name: "Test with a Bundler pre/rc version"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.6'
|
||||
@@ -319,7 +316,7 @@ jobs:
|
||||
env:
|
||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/bundler-dev.gemfile
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: ruby-head
|
||||
@@ -331,7 +328,7 @@ jobs:
|
||||
env:
|
||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/bundler1.gemfile
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.7'
|
||||
@@ -349,7 +346,7 @@ jobs:
|
||||
env:
|
||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '3.2'
|
||||
@@ -360,7 +357,7 @@ jobs:
|
||||
name: "Test windows-toolchain: none"
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: '2.7'
|
||||
@@ -373,7 +370,7 @@ jobs:
|
||||
name: "Check windows*versions.json are up-to-date"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- uses: ./
|
||||
with:
|
||||
ruby-version: ruby
|
||||
@@ -385,7 +382,7 @@ jobs:
|
||||
name: "Check dist/index.js is up-to-date"
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
- run: yarn install
|
||||
- run: yarn run package
|
||||
- name: Check generated files are up to date
|
||||
|
||||
@@ -9,7 +9,7 @@ jobs:
|
||||
update_branch:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/checkout@v7
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: git push origin HEAD:v1
|
||||
|
||||
+20
-2
@@ -25,6 +25,24 @@ $ cp pre-commit .git/hooks/pre-commit
|
||||
This is entirely automated now since [this issue](https://github.com/ruby/setup-ruby/issues/254).
|
||||
If you do not see a new version more than 24 hours after it was released feel free to file an issue.
|
||||
|
||||
## Release
|
||||
## Release team
|
||||
|
||||
Maintainers can create a release automatically by running [this workflow](https://github.com/ruby/setup-ruby/actions/workflows/release.yml).
|
||||
The current release team is @eregon @MSP-Greg @ntkme @flavorjones @larskanis @headius.
|
||||
They all have write access to the `setup-ruby` repository, to be able to merge and release `ruby-builder-bot` PRs adding new versions.
|
||||
The `ruby-builder-bot` PRs are created by [this workflow](https://github.com/ruby/ruby-builder/actions/workflows/check-new-releases.yml) which runs every hour.
|
||||
|
||||
The release team can create releases by running [this workflow](https://github.com/ruby/setup-ruby/actions/workflows/release.yml).
|
||||
|
||||
The release team and more specifically @larskanis can run [the workflow to check for new RubyInstaller releases](https://github.com/ruby/setup-ruby/actions/workflows/check-new-windows-versions.yml) to speed things up (otherwise it's run twice a day).
|
||||
|
||||
The release team must not merge other PRs than the ones from `ruby-builder-bot` (unless they are also setup-ruby maintainers).
|
||||
|
||||
## Maintainers
|
||||
|
||||
@eregon is the lead maintainer and creator of this action.
|
||||
Any design change (e.g. new input, different way to do things) must have his approval.
|
||||
|
||||
@MSP-Greg @ntkme are maintainers of setup-ruby and should feel free to merge bug fixes, etc.
|
||||
They should request a review on their PR from another maintainer but they don't have to wait for the review if the fix is urgent (e.g. `setup-ruby` broke in some cases and the fix is obvious).
|
||||
|
||||
Naturally maintainers can also [release setup-ruby](https://github.com/ruby/setup-ruby/actions/workflows/release.yml) so the changes from their PR get published.
|
||||
|
||||
@@ -15,10 +15,10 @@ This action currently supports these versions of MRI, JRuby and TruffleRuby:
|
||||
|
||||
| Interpreter | Versions |
|
||||
| ----------- | -------- |
|
||||
| `ruby` | 1.9.3, 2.0.0, 2.1.9, 2.2, all versions from 2.3.0 until 4.0.1, head, debug, mingw, mswin, ucrt |
|
||||
| `jruby` | 9.1.17.0 - 10.0.2.0, head |
|
||||
| `truffleruby` | 19.3.0 - 33.0.0, head |
|
||||
| `truffleruby+graalvm` | 21.2.0 - 33.0.0, head |
|
||||
| `ruby` | 1.9.3, 2.0.0, 2.1.9, 2.2, all versions from 2.3.0 until 4.0.6, head, debug, mingw, mswin, ucrt |
|
||||
| `jruby` | 9.1.17.0 - 10.1.0.0, head |
|
||||
| `truffleruby` | 19.3.0 - 34.0.1, head |
|
||||
| `truffleruby+graalvm` | 21.2.0 - 34.0.1, head |
|
||||
|
||||
`ruby-debug` is the same as `ruby-head` but with assertions enabled (`-DRUBY_DEBUG=1`).
|
||||
|
||||
@@ -49,7 +49,7 @@ The action works on these [GitHub-hosted runners](https://docs.github.com/en/act
|
||||
|
||||
| Operating System | Supported |
|
||||
| ---------------- | --------- |
|
||||
| Ubuntu | `ubuntu-22.04`, `ubuntu-24.04`, `ubuntu-22.04-arm`, `ubuntu-24.04-arm` |
|
||||
| Ubuntu | `ubuntu-22.04`, `ubuntu-24.04`, `ubuntu-26.04`, `ubuntu-22.04-arm`, `ubuntu-24.04-arm`, `ubuntu-26.04-arm` |
|
||||
| macOS | `macos-14` and newer versions |
|
||||
| Windows | `windows-2022`, `windows-2025`, `windows-11-arm` |
|
||||
|
||||
@@ -76,10 +76,10 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.4' # Not needed with a .ruby-version, .tool-versions or mise.toml
|
||||
ruby-version: '4.0' # Not needed with a .ruby-version, .tool-versions or mise.toml
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
- run: bundle exec rake
|
||||
```
|
||||
@@ -98,10 +98,10 @@ jobs:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest]
|
||||
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
|
||||
ruby: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4', head, jruby, jruby-head, truffleruby, truffleruby-head]
|
||||
ruby: ['3.3', '3.4', '4.0', head, jruby, jruby-head, truffleruby, truffleruby-head]
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
@@ -124,17 +124,17 @@ jobs:
|
||||
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
||||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.4'
|
||||
ruby-version: '4.0'
|
||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||
- run: bundle exec rake
|
||||
```
|
||||
|
||||
See the GitHub Actions documentation for more details about the
|
||||
[workflow syntax](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions)
|
||||
and the [condition and expression syntax](https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions).
|
||||
[workflow syntax](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax)
|
||||
and the [condition and expression syntax](https://docs.github.com/en/actions/reference/workflows-and-actions/contexts).
|
||||
|
||||
### Supported Version Syntax
|
||||
|
||||
@@ -168,7 +168,7 @@ should be able to fix them by setting `rubygems: 3.0.0` or higher.
|
||||
|
||||
By default, Bundler is installed as follows:
|
||||
|
||||
* If there is a `Gemfile.lock` file (or `$BUNDLE_GEMFILE.lock` or `gems.locked`) with a `BUNDLED WITH` section,
|
||||
* If there is a `Gemfile.lock` file (or `$BUNDLE_LOCKFILE`, `$BUNDLE_GEMFILE.lock`, or `gems.locked`) with a `BUNDLED WITH` section,
|
||||
that version of Bundler will be installed and used.
|
||||
* If the Ruby ships with Bundler 2.2+ (as a default gem), that version is used.
|
||||
* Otherwise, the latest compatible Bundler version is installed (Bundler 2 on Ruby >= 2.3, Bundler 1 on Ruby < 2.3).
|
||||
@@ -188,7 +188,7 @@ Note that any step doing `bundle install` (for the root `Gemfile`) or `gem insta
|
||||
|
||||
This caching speeds up installing gems significantly and avoids too many requests to RubyGems.org.
|
||||
It needs a `Gemfile` (or `$BUNDLE_GEMFILE` or `gems.rb`) under the [`working-directory`](#working-directory).
|
||||
If there is a `Gemfile.lock` (or `$BUNDLE_GEMFILE.lock` or `gems.locked`), `bundle config --local deployment true` is used.
|
||||
If there is a `Gemfile.lock` (or `$BUNDLE_LOCKFILE`, `$BUNDLE_GEMFILE.lock`, or `gems.locked`), `bundle config --local deployment true` is used.
|
||||
|
||||
To use a `Gemfile` which is not at the root or has a different name, set `BUNDLE_GEMFILE` in the `env` at the job level
|
||||
as shown in the [example](#matrix-of-gemfiles).
|
||||
@@ -252,13 +252,11 @@ Note that running CI on Windows can be quite challenging if you are not very fam
|
||||
It is recommended to first get your build working on Ubuntu and macOS before trying Windows.
|
||||
|
||||
* Use Bundler 2.2.18+ on Windows (older versions have [bugs](https://github.com/ruby/setup-ruby/issues/209#issuecomment-889064123)) by not setting the `bundler:` input and ensuring there is no `BUNDLED WITH 1.x.y` in a checked-in `Gemfile.lock`.
|
||||
* The default shell on Windows is not Bash but [PowerShell](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#using-a-specific-shell).
|
||||
* The default shell on Windows is not Bash but [PowerShell](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#using-a-specific-shell).
|
||||
This can lead issues such as multi-line scripts [not working as expected](https://github.com/ruby/setup-ruby/issues/13).
|
||||
* The `PATH` contains [multiple compiler toolchains](https://github.com/ruby/setup-ruby/issues/19). Use `where.exe` to debug which tool is used.
|
||||
* For Ruby ≥ 2.4, MSYS2 is prepended to the `Path`, similar to what RubyInstaller2 does.
|
||||
* For Ruby < 2.4, the DevKit MSYS tools are installed and prepended to the `Path`.
|
||||
* Use JRuby 9.2.20+ on Windows (older versions have [bugs](https://github.com/ruby/setup-ruby/issues/18#issuecomment-889072695)).
|
||||
* JRuby on Windows has multiple issues ([jruby/jruby#7106](https://github.com/jruby/jruby/issues/7106), [jruby/jruby#7182](https://github.com/jruby/jruby/issues/7182)).
|
||||
* When compiling extension code, note that the packages required to build Ruby are included when using Windows 2022. Additional packages can be installed with [setup-ruby-pkgs](https://github.com/ruby/setup-ruby-pkgs) or via MSYS2's `pacman`. These packages may be required when installing or updating Ruby stdlib extension gems.
|
||||
|
||||
## Versioning
|
||||
@@ -300,6 +298,7 @@ Please [update](https://github.com/ruby/setup-ruby/releases/tag/v1.13.0) if you
|
||||
|
||||
## Credits
|
||||
|
||||
The current maintainer of this action is @eregon.
|
||||
The creator of this action is @eregon.
|
||||
The current maintainers are @eregon @MSP-Greg @ntkme.
|
||||
Most of the Windows logic is based on work by MSP-Greg.
|
||||
Many thanks to MSP-Greg and Lars Kanis for the help with Ruby Installer.
|
||||
|
||||
+1
-1
@@ -55,5 +55,5 @@ outputs:
|
||||
ruby-prefix:
|
||||
description: 'The prefix of the installed ruby'
|
||||
runs:
|
||||
using: 'node20'
|
||||
using: 'node24'
|
||||
main: 'dist/index.js'
|
||||
|
||||
+4
-2
@@ -15,14 +15,16 @@ function isValidBundlerVersion(bundlerVersion) {
|
||||
// The returned gemfile is guaranteed to exist, the lockfile might not exist
|
||||
export function detectGemfiles() {
|
||||
const gemfilePath = process.env['BUNDLE_GEMFILE'] || 'Gemfile'
|
||||
const lockfilePath = process.env['BUNDLE_LOCKFILE']
|
||||
|
||||
if (fs.existsSync(gemfilePath)) {
|
||||
return [gemfilePath, `${gemfilePath}.lock`]
|
||||
return [gemfilePath, lockfilePath || `${gemfilePath}.lock`]
|
||||
} else if (process.env['BUNDLE_GEMFILE']) {
|
||||
throw new Error(`$BUNDLE_GEMFILE is set to ${gemfilePath} but does not exist`)
|
||||
}
|
||||
|
||||
if (fs.existsSync("gems.rb")) {
|
||||
return ["gems.rb", "gems.locked"]
|
||||
return ["gems.rb", lockfilePath || "gems.locked"]
|
||||
}
|
||||
|
||||
return [null, null]
|
||||
|
||||
@@ -186,6 +186,8 @@ const GitHubHostedPlatforms = [
|
||||
'ubuntu-22.04-arm64',
|
||||
'ubuntu-24.04-x64',
|
||||
'ubuntu-24.04-arm64',
|
||||
'ubuntu-26.04-x64',
|
||||
'ubuntu-26.04-arm64',
|
||||
'windows-2022-x64',
|
||||
'windows-2025-x64',
|
||||
'windows-11-arm64'
|
||||
@@ -281,7 +283,7 @@ export function getOSNameVersionArch() {
|
||||
|
||||
function findWindowsVersion() {
|
||||
const version = os.version()
|
||||
const match = version.match(/^Windows(?: Server)? (\d+) (?:Datacenter|Enterprise)/)
|
||||
const match = version.match(/^Windows(?: Server)? (\d+) (?:Standard|Datacenter|Enterprise)/)
|
||||
if (match) {
|
||||
return match[1]
|
||||
} else {
|
||||
|
||||
+176
-112
File diff suppressed because one or more lines are too long
+10
-3
@@ -23,8 +23,10 @@ runners = %w[
|
||||
macos-15-intel
|
||||
ubuntu-22.04
|
||||
ubuntu-24.04
|
||||
ubuntu-26.04
|
||||
ubuntu-22.04-arm
|
||||
ubuntu-24.04-arm
|
||||
ubuntu-26.04-arm
|
||||
windows-2022
|
||||
windows-2025
|
||||
windows-11-arm
|
||||
@@ -34,10 +36,13 @@ macos_runners = runners.select { |runner| runner.start_with?('macos-') }
|
||||
ubuntu_runners = runners.select { |runner| runner.start_with?('ubuntu-') }
|
||||
windows_runners, non_windows_runners = runners.partition { |runner| runner.start_with?('windows-') }
|
||||
|
||||
macos_arm64_runners, _macos_x64_runners = macos_runners.partition { |runner| !runner.end_with?('-intel')}
|
||||
macos_arm64_runners, macos_x64_runners = macos_runners.partition { |runner| !runner.end_with?('-intel')}
|
||||
ubuntu_arm64_runners, ubuntu_x64_runners = ubuntu_runners.partition { |runner| runner.end_with?('-arm')}
|
||||
windows_arm64_runners, windows_x64_runners = windows_runners.partition { |runner| runner.end_with?('-arm') }
|
||||
|
||||
asan_runners = ubuntu_x64_runners.grep(/ubuntu-24\.04/)
|
||||
ubuntu2604_runners = ubuntu_runners.grep(/ubuntu-26\.04/)
|
||||
|
||||
# Versions
|
||||
ruby_builder_versions = JSON.load(File.read('ruby-builder-versions.json'))
|
||||
windows_versions = JSON.load(File.read('windows-versions.json'))
|
||||
@@ -53,7 +58,7 @@ matrix += runners.product(jruby_versions)
|
||||
|
||||
# truffleruby: latest release + head
|
||||
truffleruby_versions = %w[truffleruby truffleruby-head truffleruby+graalvm truffleruby+graalvm-head]
|
||||
matrix += non_windows_runners.product(truffleruby_versions)
|
||||
matrix += (macos_arm64_runners + ubuntu_runners).product(truffleruby_versions)
|
||||
|
||||
# ruby-loco: head
|
||||
ruby_loco_versions = %w[mingw mswin ucrt]
|
||||
@@ -61,7 +66,7 @@ matrix += windows_x64_runners.product(ruby_loco_versions)
|
||||
|
||||
# asan: latest release + head
|
||||
asan_versions = %w[asan-release asan]
|
||||
matrix += ubuntu_x64_runners.sort.last(1).product(asan_versions)
|
||||
matrix += asan_runners.sort.last(1).product(asan_versions)
|
||||
|
||||
# https://github.com/ruby/setup-ruby/pull/596#discussion_r1606047680
|
||||
matrix -= (ubuntu_runners - %w[ubuntu-22.04]).product(%w[1.9])
|
||||
@@ -71,6 +76,8 @@ matrix -= ubuntu_runners.product(%w[2.2])
|
||||
matrix -= macos_arm64_runners.product(%w[1.9 2.0 2.1 2.2 2.3 2.4 2.5])
|
||||
# These old Rubies fail to compile or segfault on Linux arm64
|
||||
matrix -= ubuntu_arm64_runners.product(%w[1.9 2.0 2.1 2.2])
|
||||
# These old Rubies fail to compile on ubuntu-26.04
|
||||
matrix -= ubuntu2604_runners.product(%w[1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 3.0 3.1])
|
||||
# RubyInstaller windows-arm64 builds only exist for Ruby 3.4+
|
||||
matrix -= windows_arm64_runners.product(%w[2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3])
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ function parseRubyEngineAndVersion(rubyVersion) {
|
||||
console.log(`Using ${rubyVersion} as input from file .tool-versions`)
|
||||
} else if (rubyVersion === 'mise.toml') { // Read from mise.toml
|
||||
const toolVersions = fs.readFileSync('mise.toml', 'utf8').trim()
|
||||
const regexp = /^ruby\s*=\s*['"](.+)['"]$/
|
||||
const regexp = /^\s*ruby\s*=\s*['"]([^'"]+)['"]\s*(?:#.*)?$/
|
||||
const rubyLine = toolVersions.split(/\r?\n/).filter(e => regexp.test(e))[0]
|
||||
rubyVersion = rubyLine.match(regexp)[1]
|
||||
console.log(`Using ${rubyVersion} as input from file mise.toml`)
|
||||
@@ -196,6 +196,8 @@ function validateRubyEngineAndVersion(platform, engineVersions, engine, parsedVe
|
||||
But of course you should consider dropping support for these long-EOL Rubies, which cannot even be built on recent macOS machines.`)
|
||||
} else if (engine === 'truffleruby' && platform.startsWith('windows')) {
|
||||
throw new Error('TruffleRuby does not currently support Windows.')
|
||||
} else if (engine === 'truffleruby' && platform.startsWith('macos') && os.arch() === 'x64' && common.floatVersion(version) >= 34.0) {
|
||||
throw new Error('TruffleRuby 34+ no longer supports macOS Intel, please exclude that combination from CI.')
|
||||
}
|
||||
|
||||
return version
|
||||
@@ -219,8 +221,8 @@ function envPreInstall() {
|
||||
if (windows) {
|
||||
// puts normal Ruby temp folder on SSD
|
||||
core.exportVariable('TMPDIR', ENV['RUNNER_TEMP'])
|
||||
// bash - sets home to match native windows, normally C:\Users\<user name>
|
||||
core.exportVariable('HOME', ENV['HOMEDRIVE'] + ENV['HOMEPATH'])
|
||||
// bash - sets home to match native windows
|
||||
core.exportVariable('HOME', os.homedir())
|
||||
// bash - needed to maintain Path from Windows
|
||||
core.exportVariable('MSYS2_PATH_TYPE', 'inherit')
|
||||
}
|
||||
|
||||
@@ -6,11 +6,6 @@ versions.each do |engine_version|
|
||||
engine, version = engine_version.split('-', 2)
|
||||
p [engine, version]
|
||||
|
||||
if engine == 'windows'
|
||||
require_relative 'generate-windows-versions'
|
||||
exit
|
||||
end
|
||||
|
||||
match = case engine
|
||||
when 'ruby', 'jruby'
|
||||
/^\d+\.\d+\./
|
||||
|
||||
@@ -11,19 +11,20 @@
|
||||
"2.7.0", "2.7.1", "2.7.2", "2.7.3", "2.7.4", "2.7.5", "2.7.6", "2.7.7", "2.7.8",
|
||||
"3.0.0-preview1", "3.0.0-preview2", "3.0.0-rc1", "3.0.0", "3.0.1", "3.0.2", "3.0.3", "3.0.4", "3.0.5", "3.0.6", "3.0.7",
|
||||
"3.1.0-preview1", "3.1.0", "3.1.1", "3.1.2", "3.1.3", "3.1.4", "3.1.5", "3.1.6", "3.1.7",
|
||||
"3.2.0-preview1", "3.2.0-preview2", "3.2.0-preview3", "3.2.0-rc1", "3.2.0", "3.2.1", "3.2.2", "3.2.3", "3.2.4", "3.2.5", "3.2.6", "3.2.7", "3.2.8", "3.2.9", "3.2.10",
|
||||
"3.3.0-preview1", "3.3.0-preview2", "3.3.0-preview3", "3.3.0-rc1", "3.3.0", "3.3.1", "3.3.2", "3.3.3", "3.3.4", "3.3.5", "3.3.6", "3.3.7", "3.3.8", "3.3.9", "3.3.10",
|
||||
"3.4.0-preview1", "3.4.0-preview2", "3.4.0-rc1", "3.4.0", "3.4.1", "3.4.2", "3.4.3", "3.4.4", "3.4.5", "3.4.6", "3.4.7", "3.4.8",
|
||||
"3.2.0-preview1", "3.2.0-preview2", "3.2.0-preview3", "3.2.0-rc1", "3.2.0", "3.2.1", "3.2.2", "3.2.3", "3.2.4", "3.2.5", "3.2.6", "3.2.7", "3.2.8", "3.2.9", "3.2.10", "3.2.11",
|
||||
"3.3.0-preview1", "3.3.0-preview2", "3.3.0-preview3", "3.3.0-rc1", "3.3.0", "3.3.1", "3.3.2", "3.3.3", "3.3.4", "3.3.5", "3.3.6", "3.3.7", "3.3.8", "3.3.9", "3.3.10", "3.3.11", "3.3.12",
|
||||
"3.4.0-preview1", "3.4.0-preview2", "3.4.0-rc1", "3.4.0", "3.4.1", "3.4.2", "3.4.3", "3.4.4", "3.4.5", "3.4.6", "3.4.7", "3.4.8", "3.4.9", "3.4.10",
|
||||
"3.5.0-preview1",
|
||||
"4.0.0-preview2", "4.0.0-preview3", "4.0.0", "4.0.1",
|
||||
"4.0.0-preview2", "4.0.0-preview3", "4.0.0", "4.0.1", "4.0.2", "4.0.3", "4.0.4", "4.0.5", "4.0.6",
|
||||
"head", "debug", "asan", "asan-release"
|
||||
],
|
||||
"jruby": [
|
||||
"9.1.17.0",
|
||||
"9.2.9.0", "9.2.10.0", "9.2.11.0", "9.2.11.1", "9.2.12.0", "9.2.13.0", "9.2.14.0", "9.2.15.0", "9.2.16.0", "9.2.17.0", "9.2.18.0", "9.2.19.0", "9.2.20.0", "9.2.20.1", "9.2.21.0",
|
||||
"9.3.0.0", "9.3.1.0", "9.3.2.0", "9.3.3.0", "9.3.4.0", "9.3.6.0", "9.3.7.0", "9.3.8.0", "9.3.9.0", "9.3.10.0", "9.3.11.0", "9.3.13.0", "9.3.14.0", "9.3.15.0",
|
||||
"9.4.0.0", "9.4.1.0", "9.4.2.0", "9.4.3.0", "9.4.4.0", "9.4.5.0", "9.4.6.0", "9.4.7.0", "9.4.8.0", "9.4.9.0", "9.4.10.0", "9.4.11.0", "9.4.12.0", "9.4.12.1", "9.4.13.0", "9.4.14.0",
|
||||
"10.0.0.0", "10.0.0.1", "10.0.1.0", "10.0.2.0",
|
||||
"9.4.0.0", "9.4.1.0", "9.4.2.0", "9.4.3.0", "9.4.4.0", "9.4.5.0", "9.4.6.0", "9.4.7.0", "9.4.8.0", "9.4.9.0", "9.4.10.0", "9.4.11.0", "9.4.12.0", "9.4.12.1", "9.4.13.0", "9.4.14.0", "9.4.15.0",
|
||||
"10.0.0.0", "10.0.0.1", "10.0.1.0", "10.0.2.0", "10.0.3.0", "10.0.4.0", "10.0.5.0", "10.0.6.0",
|
||||
"10.1.0.0",
|
||||
"head"
|
||||
],
|
||||
"truffleruby": [
|
||||
@@ -34,7 +35,8 @@
|
||||
"23.0.0-preview1", "23.0.0", "23.1.0", "23.1.1", "23.1.2",
|
||||
"24.0.0", "24.0.1", "24.0.2", "24.1.0", "24.1.1", "24.1.2", "24.2.0", "24.2.1",
|
||||
"25.0.0",
|
||||
"33.0.0",
|
||||
"33.0.0", "33.0.1",
|
||||
"34.0.0", "34.0.1",
|
||||
"head"
|
||||
],
|
||||
"truffleruby+graalvm": [
|
||||
@@ -43,7 +45,8 @@
|
||||
"23.0.0-preview1", "23.0.0", "23.1.0", "23.1.1", "23.1.2",
|
||||
"24.0.0", "24.0.1", "24.0.2", "24.1.0", "24.1.1", "24.1.2", "24.2.0", "24.2.1",
|
||||
"25.0.0",
|
||||
"33.0.0",
|
||||
"33.0.0", "33.0.1",
|
||||
"34.0.0", "34.0.1",
|
||||
"head"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ versions = JSON.load(hash).transform_keys(&:to_sym)
|
||||
ONLY_LATEST_PATCH = ENV['ONLY_LATEST_PATCH']
|
||||
|
||||
def filter(versions)
|
||||
versions -= %w[head]
|
||||
versions -= %w[head debug asan asan-release 3.5.0-preview1]
|
||||
if ONLY_LATEST_PATCH
|
||||
versions = versions.group_by { |v| v[/^\d+\.\d+/] }.map { _2.last }
|
||||
end
|
||||
@@ -29,5 +29,7 @@ puts filter(versions[:"truffleruby+graalvm"]).map { |v| "truffleruby+graalvm-#{v
|
||||
|
||||
puts
|
||||
puts filter(versions[:jruby]).map { |v| "jruby-#{v}" }.join(', ')
|
||||
|
||||
puts
|
||||
puts "For Windows:"
|
||||
puts filter(versions[:jruby]).join(', ')
|
||||
|
||||
@@ -209,6 +209,9 @@
|
||||
"3.2.10": {
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"3.2.11": {
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"3.3.0": {
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64-mingw-w64@r688-gcc@14.7z"
|
||||
},
|
||||
@@ -242,6 +245,12 @@
|
||||
"3.3.10": {
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"3.3.11": {
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"3.3.12": {
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"3.4.1": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64-mingw-w64@r688.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64-mingw-w64@r688-gcc@14.7z"
|
||||
@@ -274,6 +283,14 @@
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"3.4.9": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"3.4.10": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"4.0.0": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
@@ -282,6 +299,26 @@
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"4.0.2": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"4.0.3": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"4.0.4": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"4.0.5": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"4.0.6": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
},
|
||||
"head": {
|
||||
"arm64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-clangarm64.7z",
|
||||
"x64": "https://github.com/ruby/setup-msys2-gcc/releases/latest/download/msys2-ucrt64.7z"
|
||||
|
||||
@@ -209,6 +209,9 @@
|
||||
"3.2.10": {
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.2.10-1/rubyinstaller-3.2.10-1-x64.7z"
|
||||
},
|
||||
"3.2.11": {
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.2.11-1/rubyinstaller-3.2.11-1-x64.7z"
|
||||
},
|
||||
"3.3.0": {
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.0-1/rubyinstaller-3.3.0-1-x64.7z"
|
||||
},
|
||||
@@ -242,6 +245,12 @@
|
||||
"3.3.10": {
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.10-1/rubyinstaller-3.3.10-1-x64.7z"
|
||||
},
|
||||
"3.3.11": {
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.11-1/rubyinstaller-3.3.11-1-x64.7z"
|
||||
},
|
||||
"3.3.12": {
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.3.12-1/rubyinstaller-3.3.12-1-x64.7z"
|
||||
},
|
||||
"3.4.1": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.1-2/rubyinstaller-3.4.1-2-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.1-2/rubyinstaller-3.4.1-2-x64.7z"
|
||||
@@ -274,6 +283,14 @@
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.8-1/rubyinstaller-3.4.8-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.8-1/rubyinstaller-3.4.8-1-x64.7z"
|
||||
},
|
||||
"3.4.9": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.9-1/rubyinstaller-3.4.9-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.9-1/rubyinstaller-3.4.9-1-x64.7z"
|
||||
},
|
||||
"3.4.10": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.10-1/rubyinstaller-3.4.10-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-3.4.10-1/rubyinstaller-3.4.10-1-x64.7z"
|
||||
},
|
||||
"4.0.0": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.0-1/rubyinstaller-4.0.0-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.0-1/rubyinstaller-4.0.0-1-x64.7z"
|
||||
@@ -282,6 +299,26 @@
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.1-1/rubyinstaller-4.0.1-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.1-1/rubyinstaller-4.0.1-1-x64.7z"
|
||||
},
|
||||
"4.0.2": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.2-1/rubyinstaller-4.0.2-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.2-1/rubyinstaller-4.0.2-1-x64.7z"
|
||||
},
|
||||
"4.0.3": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.3-1/rubyinstaller-4.0.3-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.3-1/rubyinstaller-4.0.3-1-x64.7z"
|
||||
},
|
||||
"4.0.4": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.4-1/rubyinstaller-4.0.4-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.4-1/rubyinstaller-4.0.4-1-x64.7z"
|
||||
},
|
||||
"4.0.5": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.5-1/rubyinstaller-4.0.5-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.5-1/rubyinstaller-4.0.5-1-x64.7z"
|
||||
},
|
||||
"4.0.6": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.6-1/rubyinstaller-4.0.6-1-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-4.0.6-1/rubyinstaller-4.0.6-1-x64.7z"
|
||||
},
|
||||
"head": {
|
||||
"arm64": "https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-arm.7z",
|
||||
"x64": "https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-head/rubyinstaller-head-x64.7z"
|
||||
|
||||
@@ -301,12 +301,18 @@ events@^3.0.0, events@^3.3.0:
|
||||
resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
|
||||
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==
|
||||
|
||||
fast-xml-builder@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/fast-xml-builder/-/fast-xml-builder-1.0.0.tgz#a485d7e8381f1db983cf006f849d1066e2935241"
|
||||
integrity sha512-fpZuDogrAgnyt9oDDz+5DBz0zgPdPZz6D4IR7iESxRXElrlGTRkHJ9eEt+SACRJwT0FNFrt71DFQIUFBJfX/uQ==
|
||||
|
||||
fast-xml-parser@^5.0.7:
|
||||
version "5.3.3"
|
||||
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.3.3.tgz#84b678e44eb81207c8585795152b4b1c94738b4d"
|
||||
integrity sha512-2O3dkPAAC6JavuMm8+4+pgTk+5hoAs+CjZ+sWcQLkX9+/tHRuTkQh/Oaifr8qDmZ8iEHb771Ea6G8CdwkrgvYA==
|
||||
version "5.4.1"
|
||||
resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-5.4.1.tgz#0c81b8ecfb3021e5ad83aa3df904af19a05bc601"
|
||||
integrity sha512-BQ30U1mKkvXQXXkAGcuyUA/GA26oEB7NzOtsxCDtyu62sjGw5QraKFhx2Em3WQNjPw9PG6MQ9yuIIgkSDfGu5A==
|
||||
dependencies:
|
||||
strnum "^2.1.0"
|
||||
fast-xml-builder "^1.0.0"
|
||||
strnum "^2.1.2"
|
||||
|
||||
http-proxy-agent@^7.0.0:
|
||||
version "7.0.2"
|
||||
@@ -330,9 +336,9 @@ linux-os-info@^2.0.0:
|
||||
integrity sha512-ZopyH4kT2Ehnmix8iUgS/41pfv7fSlUV1JukIn3DB3qD3byvhBNtgCbUApoAtiqcHRLKXCY3zakXlJgiExm2Qg==
|
||||
|
||||
minimatch@^3.0.4:
|
||||
version "3.1.2"
|
||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
|
||||
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
|
||||
version "3.1.4"
|
||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.4.tgz#89d910ea3970a77ac8edfd30340ccd038b758079"
|
||||
integrity sha512-twmL+S8+7yIsE9wsqgzU3E8/LumN3M3QELrBZ20OdmQ9jB2JvW5oZtBEmft84k/Gs5CG9mqtWc6Y9vW+JEzGxw==
|
||||
dependencies:
|
||||
brace-expansion "^1.1.7"
|
||||
|
||||
@@ -351,7 +357,7 @@ semver@^7.7.3:
|
||||
resolved "https://registry.yarnpkg.com/semver/-/semver-7.7.3.tgz#4b5f4143d007633a8dc671cd0a6ef9147b8bb946"
|
||||
integrity sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==
|
||||
|
||||
strnum@^2.1.0:
|
||||
strnum@^2.1.2:
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/strnum/-/strnum-2.1.2.tgz#a5e00ba66ab25f9cafa3726b567ce7a49170937a"
|
||||
integrity sha512-l63NF9y/cLROq/yqKXSLtcMeeyOfnSQlfMSlzFt/K73oIaD8DGaQWd7Z34X9GPiKqP5rbSh84Hl4bOlLcjiSrQ==
|
||||
|
||||
Reference in New Issue
Block a user