Benoit Daloze
a7439cf424
Add support for macos-12
2022-05-16 12:08:36 +02:00
Benoit Daloze
57a3395c80
Support some Rubies on ubuntu-22.04
2022-05-15 13:05:40 +02:00
Benoit Daloze
296bf7f67a
Use an explicit list of supported platforms for nicer error messages
2022-05-15 12:21:30 +02:00
MSP-Greg
8c72644a0b
Windows mswin - use vsWhere instead of vssetup.powershell (much faster)
2022-05-02 20:51:22 +02:00
MSP-Greg
d246303ba7
Windows mswin - use ucrt64 tools instead of mingw64
2022-05-02 20:51:22 +02:00
MSP-Greg
d78e94b867
Windows mswin - update addVCVARSEnv
2022-05-02 20:51:22 +02:00
Benoit Daloze
69fe46858b
Use implicit defaults for most inputs so the GitHub Actions UI shows only the set options
2022-05-02 20:39:45 +02:00
Benoit Daloze
9b993bc63c
Use the given Bundler 1.x version if supplied on old Rubies
...
* Fixes https://github.com/ruby/setup-ruby/issues/327
2022-05-02 20:15:42 +02:00
Benoit Daloze
d6a695ac2a
Do not install Bundler if RubyGems was updated
...
* Updating RubyGems will install Bundler as a side effect.
* Fixes https://github.com/ruby/setup-ruby/issues/326
2022-05-02 19:39:53 +02:00
ruby-builder-bot
e404913b05
Add ruby-3.2.0-preview1
2022-05-01 12:44:33 +02:00
ruby-builder-bot
eb938a806e
Add truffleruby-22.1.0
2022-04-26 16:44:11 +02:00
Benoit Daloze
ee5764de2c
Give more details on why the shipped Bundler is used in some cases
2022-04-22 17:06:58 +02:00
ruby-builder-bot
2b019609e2
Update CRuby releases on Windows
2022-04-20 21:33:41 +02:00
ruby-builder-bot
ebaea52cb2
Add ruby-3.1.2
2022-04-12 16:48:40 +02:00
ruby-builder-bot
382b2c5e9b
Add ruby-3.0.4
2022-04-12 16:42:46 +02:00
ruby-builder-bot
0d85c5bbb7
Add ruby-2.6.10
2022-04-12 16:41:27 +02:00
ruby-builder-bot
b80945c764
Add ruby-2.7.6
2022-04-12 16:32:06 +02:00
Jason Frey
1a68550f2e
Fix bundler: with a minor version installing the wrong version
...
If passed `bundler: 2.2`, setup-ruby would install bundler 2.3, because
it would generate a constraint that looks like `~> 2.2`. This
unexpectedly installs the latest of the 2.x series, but the expectation
is that it would install the latest of the 2.2.x series.
Fixes #304
2022-04-05 18:04:27 +02:00
ruby-builder-bot
bd94d6a504
Add jruby-9.3.4.0
2022-03-23 21:16:51 +01:00
Benoit Daloze
4d8ce7b87d
ruby-head now sets a proper ABI version
...
https://bugs.ruby-lang.org/issues/18249
2022-03-03 14:59:41 +01:00
Benoit Daloze
cd9d3de43b
Show stacktrace if available, in addition to error message
2022-02-27 17:51:33 +01:00
Benoit Daloze
e5517072e8
Add ruby-3.1.1 on Windows
2022-02-19 12:48:52 +01:00
ruby-builder-bot
cb1708a42d
Add ruby-3.1.1
2022-02-18 20:50:21 +01:00
Benoit Daloze
0bb302e3c3
Update @actions/cache to latest to update node-fetch to 2.6.7
...
* Which fixes https://github.com/advisories/GHSA-r683-j2x4-v87g
2022-02-15 12:28:15 +01:00
Benoit Daloze
359bebbc29
Use the shipped Bundler on TruffleRuby 22.0
...
* To workaround https://github.com/oracle/truffleruby/issues/2586
2022-01-28 13:09:27 +01:00
Benoit Daloze
fabf2515e6
Allow bundler: none + bundle-cache: true to use the Bundler shipped with that Ruby + the cache
2022-01-27 20:07:26 +01:00
ruby-builder-bot
6d62a2dcce
Add truffleruby-22.0.0.2
2022-01-25 20:45:27 +01:00
ruby-builder-bot
f302e4ff49
Add jruby-9.3.3.0
2022-01-23 16:39:56 +01:00
Benoit Daloze
cf617ba62d
Show ruby --version
...
* This is particularly useful for head builds and is also reasonably
fast for all supported Rubies.
2022-01-23 12:27:11 +01:00
Benoit Daloze
c96a8640af
Make version files pure-data JSON files
2022-01-23 12:16:37 +01:00
David Rodríguez
8781aa98b4
Tweak rubygems input behavior
...
When a fixed version is passed, it should be the minimum RubyGems
version for the whole matrix, i.e., RubyGems should not be dowgraded
past the default version of the oldest Ruby in the matrix.
2022-01-23 11:55:32 +01:00
David Rodríguez
c3f0cb18af
Add a new input to optionally update RubyGems
2022-01-23 11:55:32 +01:00
Benoit Daloze
238b81ee64
Only log if changing something
2022-01-13 20:26:04 +01:00
Benoit Daloze
8f312efe12
Fix typo
2022-01-13 19:47:00 +01:00
Benoit Daloze
26470672e5
Small cleanups
2022-01-13 19:40:03 +01:00
MSP-Greg
fb94cfb62e
yarn run package
2022-01-13 19:25:34 +01:00
Benoit Daloze
4726835508
Try 'gem install --force bundler' on 3.1 Windows
2022-01-10 17:52:23 +01:00
Koichi ITO
bee16c98fd
Support Ruby 3.1.0 for Windows
...
Follow up to https://github.com/oneclick/rubyinstaller2/issues/255#issuecomment-1003266597 .
This PR adds Ruby 3.1.0 to windows-version.js.
2022-01-10 17:52:23 +01:00
shmokmt
f0971f0dd4
Add Ruby 3.1.0
2021-12-26 19:21:10 +01:00
Benoit Daloze
471466b54c
Add JRuby 9.2.20.1 and 9.3.2.0
2021-12-07 11:22:34 +01:00
Benoit Daloze
be0cc84c1b
Add 2.6.9, 2.7.5 and 3.0.3 on Windows
2021-11-30 19:19:02 +01:00
aparna-ravindra
e7eea4e63a
using actions/cache version 1.0.8
2021-11-30 15:18:35 +01:00
Bertrand Paquet
cf1a6dd2d8
Also add 2.6.9 and 2.7.5
2021-11-24 19:20:49 +01:00
Bertrand Paquet
5b2e10fa5f
Add ruby 3.0.3
2021-11-24 19:20:49 +01:00
Brian Kephart
330f7f5faa
Add Ruby 3.1.0-preview1
2021-11-11 13:18:51 +01:00
Benoit Daloze
e5b2d1fb1e
Document how to add a new Ruby version
2021-11-07 15:20:29 +01:00
Benoit Daloze
b00551441a
Add TruffleRuby and TruffleRuby GraalVM
2021-10-19 19:07:24 +02:00
Pavel Rosický
f514fbcdac
Add JRuby 9.3.1.0
2021-10-14 12:22:08 +02:00
Benoit Daloze
a6f2286594
Use the proper ABI version for caching gems of truffleruby-head
...
* Previously the commit was used.
2021-10-05 16:57:38 +02:00
Benoit Daloze
c84889b9b9
TruffleRuby correctly changes the ABI version now
2021-10-05 16:51:03 +02:00