Benoit Daloze
5a73aa9f67
Explain why it was detected as self-hosted
2023-03-03 18:01:46 +01:00
Benoit Daloze
d01c52ad8b
Add a self-hosted input to force considering the current runner as self-hosted
...
* Since checking for self-hosted is based on guessing as there is
no proper predicate for it in GitHub Actions (AFAIK).
2023-03-03 18:01:46 +01:00
Benoit Daloze
377a94bc68
Consider a different $RUNNER_TOOL_CACHE than the default as a self-hosted runner
...
* Fixes https://github.com/ruby/setup-ruby/issues/242
2023-03-03 18:01:46 +01:00
Benoit Daloze
66dc012cc3
Detect self-hosted runners not matching a GitHub-hosted runner image
...
* And give instructions for that case.
* Get the OS and OS version ourselves since some users set ImageOS incorrectly.
* This partially reverts commit ad1ebae995 .
2023-03-03 16:33:57 +01:00
Hiroshi SHIBATA
92aece5fc9
Also removed deprecated ubuntu-18.04
2023-02-27 19:56:46 +01:00
Hiroshi SHIBATA
db791aad7b
Removed macos-10.15 because it will be removed at 2023-03-31
2023-02-27 19:56:46 +01:00
ruby-builder-bot
d3c9825d67
Update CRuby releases on Windows
2023-02-14 18:20:01 +01:00
Benoit Daloze
f60ef1e808
Include working directory, $BUNDLE_WITH and $BUNDLE_WITHOUT in cache key
...
* Fixes https://github.com/ruby/setup-ruby/issues/350
* Fixes https://github.com/ruby/setup-ruby/issues/176
2023-02-11 14:17:29 +01:00
Benoit Daloze
bc4e585e26
Don't show timing on error for clearer error output
2023-02-11 13:48:39 +01:00
Benoit Daloze
2cf593d66b
Don't group bundle install output
...
* So any error from Bundler is immediately shown.
* Some users do not realize they should expand the group apparently.
2023-02-11 13:45:25 +01:00
Benoit Daloze
a26e1fb6b3
Do not show a stacktrace if a process failed, only the message
...
* The stacktrace is confusing and rarely useful in that case.
2023-02-11 13:39:22 +01:00
ruby-builder-bot
4d060a10e6
Add ruby-3.2.1
2023-02-09 18:20:44 +00:00
ruby-builder-bot
77fe3b48b7
Add jruby-9.4.1.0
2023-02-08 10:26:25 +00:00
ruby-builder-bot
8df78e5576
Add jruby-9.3.10.0
2023-02-06 12:43:15 +00:00
ruby-builder-bot
b8e62b879e
Add truffleruby-22.3.1,truffleruby+graalvm-22.3.1
2023-01-24 19:23:27 +01:00
MSP-Greg
ee26e27437
Updates for Windows MSYS2 update to OpenSSL 3
2023-01-21 18:22:09 +01:00
Benoit Daloze
93287a1fa8
Revert "Export BUNDLER_VERSION after installing Bundler"
...
* This reverts commit 3190662165 .
* It causes other issues such as https://github.com/ruby/setup-ruby/issues/444
due to creating additional global state.
* The use-case it solves is too niche to risk such issues,
using `bundler-cache: true` avoids the problem.
* See https://github.com/ruby/setup-ruby/issues/444#issuecomment-1377723414
2023-01-10 20:17:22 +01:00
Benoit Daloze
3190662165
Export BUNDLER_VERSION after installing Bundler
...
* Fixes https://github.com/ruby/setup-ruby/issues/440
2023-01-06 12:50:46 +01:00
Benoit Daloze
eb7f94ffae
Consider Bundler pre and rc versions valid, just exclude .dev
...
* Fixes https://github.com/ruby/setup-ruby/issues/439
2023-01-06 12:49:10 +01:00
Benoit Daloze
09c10210cc
Implement targetRubyVersion for TruffleRuby
...
* Fixes #433
2022-12-30 15:55:07 +01:00
Lars Kanis
f78d71faf4
Add RubyInstaller-3.2.0-1 for Windows
2022-12-30 15:39:39 +01:00
MSP-Greg
fe42d0e73b
Windows - updates for using OpenSSL 3 in Ruby 3.2 & head
2022-12-30 14:40:10 +01:00
Piotr Murach
03b78bdda2
Fix automatic bundler installation on JRuby 9.2
2022-12-25 20:06:54 +01:00
David Rodríguez
5fe1a6694c
Respect explicit user's choice
2022-12-25 19:28:37 +01:00
David Rodríguez
bb3a0553d5
Bundler higher than ~> 2.4.0 will require Ruby 3.0 or later
2022-12-25 19:28:37 +01:00
ruby-builder-bot
02c9cccf0e
Add ruby-3.2.0
2022-12-25 14:08:20 +01:00
Hiroshi SHIBATA
8d6236c5db
Bundler-2.4 requires Ruby 2.6 or later.
2022-12-24 23:31:20 +01:00
ruby-builder-bot
4b2d1d631e
Update CRuby releases on Windows
2022-12-21 20:16:13 +01:00
ruby-builder-bot
a5e2883296
Add ruby-3.2.0-rc1
2022-12-06 07:08:21 -06:00
ruby-builder-bot
c7079efafd
Add ruby-2.7.7,ruby-3.0.5
2022-11-25 17:14:51 +01:00
ruby-builder-bot
0a6498048c
Add ruby-3.1.3
2022-11-24 20:23:06 +01:00
ruby-builder-bot
de6f5b9c34
Add jruby-9.4.0.0
2022-11-23 23:00:18 +01:00
Benoit Daloze
4887fd8753
Ignore Bundler dev version in Gemfile.lock
...
* Fixes https://github.com/ruby/setup-ruby/issues/394
2022-11-22 16:22:30 +01:00
MSP-Greg
c4fe7bd15d
Update Packages (tool-cache, http-client) & regenerate dist/index.js ( #399 )
2022-11-14 11:51:13 +01:00
ruby-builder-bot
84dd2abab6
Add ruby-3.2.0-preview3
2022-11-12 13:16:34 +01:00
Étienne Barrié
8ddb7b3348
Update @actions/cache
2022-11-10 14:42:13 +01:00
Benoit Daloze
f2c070bbf7
Workaround https://github.com/oracle/truffleruby/issues/2780
2022-11-09 16:49:24 +01:00
ruby-builder-bot
ece8276942
Add truffleruby-22.3.0
2022-10-25 18:52:44 +02:00
ruby-builder-bot
bc92d02ed9
Add jruby-9.3.9.0
2022-10-25 12:37:24 +02:00
Benoit Daloze
eae47962ba
yarn upgrade
2022-10-14 13:41:58 +02:00
ruby-builder-bot
3068fa83f9
Add jruby-9.3.8.0
2022-09-13 21:14:11 +02:00
ruby-builder-bot
72d5948221
Add ruby-3.2.0-preview2
2022-09-09 09:51:50 +02:00
MSP-Greg
ae403e8ff4
Don't install Bundler on Windows mingw, mswin & ucrt builds
2022-08-23 20:43:55 +02:00
Benoit Daloze
87ccb7599f
Workaround the CRuby bug of bin/bundle in bash on Windows
...
* Fixes https://github.com/ruby/setup-ruby/issues/371
* See https://bugs.ruby-lang.org/issues/18970
2022-08-20 16:14:03 +02:00
dependabot[bot]
a1396b7d70
Bump @actions/core from 1.7.0 to 1.9.1
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.7.0 to 1.9.1.
- [Release notes](https://github.com/actions/toolkit/releases )
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md )
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core )
---
updated-dependencies:
- dependency-name: "@actions/core"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-19 13:14:10 +02:00
ruby-builder-bot
5ece9850ad
Add jruby-9.3.7.0
2022-08-17 18:08:13 +02:00
Benoit Daloze
699560a00d
Support all versions on Ubuntu 22.04
2022-08-06 16:54:03 +02:00
Benoit Daloze
d5ee2364f0
Ensure Bundler 2.2+ is used for all Rubies which support Bundler 2 (Ruby >= 2.3)
2022-07-29 18:16:42 +02:00
Benoit Daloze
8731780d5e
Remove extra condition
2022-07-29 18:16:42 +02:00
Benoit Daloze
e8f04a3cee
Use latest Bundler on CRuby 2.6 and 2.7 as their default Bundler is too old
2022-07-26 21:55:37 +02:00