Benoit Daloze
e27aee156d
Add TruffleRuby 20.3.0
v1.52.0
2020-11-20 13:00:18 +01:00
Benoit Daloze
43bb24d212
Run lint explicitly on Ubuntu 20.04 to avoid warning
2020-11-20 13:00:18 +01:00
Benoit Daloze
0c4183e8b8
truffleruby-head works fine on macOS Big Sur now
2020-11-20 12:39:46 +01:00
Benoit Daloze
50ae8432ea
Remove part about continue-on-error in example
...
* It does not seem to work well.
* See https://github.com/actions/toolkit/issues/399
2020-11-20 12:37:14 +01:00
Benoit Daloze
a699edbce6
Add test for ruby-3.0.0-preview1
v1.51.3
2020-11-19 00:33:41 +01:00
Benoit Daloze
e38f9abc9e
Fix usages of string.split(sep, limit)
...
* Since the limit just removes further matches in JavaScript.
2020-11-19 00:33:40 +01:00
Benoit Daloze
7c2bf7263d
Ensure an engine-only ruby-version picks the latest stable version and not a preview or RC
v1.51.2
2020-11-18 21:52:51 +01:00
Benoit Daloze
34fbbc1d36
Update README.md
2020-11-16 12:13:08 +01:00
Benoit Daloze
9bc07a3af0
No builds of truffleruby{,-head} on macos-11.0 yet
v1.51.1
2020-11-13 10:48:04 +01:00
Benoit Daloze
63dde36864
Remove the Caching bundle install manually section
...
* It is too error prone and the automatic approach is a lot safer and easier.
2020-11-13 10:38:56 +01:00
Benoit Daloze
fde3324171
Remove redundant bundle install in the usage examples
2020-11-13 10:38:56 +01:00
Benoit Daloze
59aafb8612
Add support for macos-11.0
2020-11-13 10:33:21 +01:00
Benoit Daloze
ad1ebae995
Also include the version in the platform for macos and windows
...
* Guess the platform based on $ImageOS.
v1.51.0
2020-11-12 20:23:53 +01:00
Benoit Daloze
f4a8aa6c33
Use ImageOS for the cache key, so it also includes the OS version
v1.50.4
2020-11-12 19:59:05 +01:00
Benoit Daloze
bc0f274d1c
Fix Bundler cache when there is no Gemfile.lock
...
* Always show the list of installed gems in the log.
2020-11-12 19:34:43 +01:00
Benoit Daloze
1c896c8ea1
Always use Bundler 1 for JRuby 9.1.x
v1.50.3
2020-11-12 19:08:42 +01:00
Benoit Daloze
ba761ba8ff
Use a hardcoded toolcache path since we need to extract there to let Ruby work
v1.50.2
2020-11-10 19:58:59 +01:00
Benoit Daloze
bb3a0c6e0b
Bundler 2 is shipped with truffleruby-head now
v1.50.1
2020-11-10 15:33:41 +01:00
Benoit Daloze
8e77d9e0fa
Mention RUNNER_TOOL_CACHE requirements for self-hosted runners
2020-11-10 11:44:22 +01:00
Benoit Daloze
339f055c86
Clarify Windows check
2020-11-10 11:35:50 +01:00
Benoit Daloze
0592d01dc3
Ruby 2.4 is EOL
...
https://www.ruby-lang.org/en/news/2020/04/05/support-of-ruby-2-4-has-ended/
2020-11-09 19:42:02 +01:00
Benoit Daloze
d7b76f909a
Add Ruby 3.0.0-preview1
...
* Fixes https://github.com/ruby/setup-ruby/issues/100
v1.50.0
2020-11-09 13:07:33 +01:00
Benoit Daloze
ebed7f7b66
Invalidate cache key since Rubies are installed in the toolcache now
...
* Some gems might capture the absolute path of the Ruby prefix.
2020-11-09 13:01:13 +01:00
Benoit Daloze
933dca770c
Extract CRuby releases under $RUNNER_TOOL_CACHE
2020-11-09 13:00:42 +01:00
Benoit Daloze
693cf1794d
Include the Gemfile path in the cache key
...
* See https://github.com/ruby/setup-ruby/issues/103#issuecomment-723960352
2020-11-09 13:00:04 +01:00
Benoit Daloze
efda314f4a
Remove Rubinius support
...
* Fixes https://github.com/ruby/setup-ruby/issues/101
v1.49.0
2020-11-09 12:50:25 +01:00
Benoit Daloze
c49deecea1
Rubinius builds will no longer be provided
v1.48.0
2020-11-08 19:13:11 +01:00
Benoit Daloze
5da31b45d7
Revert "Test installing rake to check RubyGems recognizes the executable as safe to override"
...
* This reverts commit 35f0af38a7 .
* It fails for some cases like Ruby <= 2.2 and on some RubyInstaller builds,
see https://github.com/ruby/setup-ruby/issues/98#issuecomment-723468255
* Most users will use Bundler to install rake, and that already works fine.
2020-11-07 17:53:13 +01:00
Benoit Daloze
4bb29a57df
Use the new format for ruby-builder version strings
2020-11-07 16:55:06 +01:00
Benoit Daloze
9be533b7d4
Print JRuby Windows versions for ruby-builder conveniently
2020-11-01 17:11:43 +01:00
Benoit Daloze
35f0af38a7
Test installing rake to check RubyGems recognizes the executable as safe to override
2020-11-01 16:54:38 +01:00
Benoit Daloze
b9ca796ede
Print RbConfig values in tests
2020-10-23 15:58:23 +02:00
Benoit Daloze
11082225e4
Mention bundler-cache: true in the README examples
2020-10-22 14:13:53 +02:00
Benoit Daloze
4de6eb91a8
Update test.yml
2020-10-22 14:12:09 +02:00
Benoit Daloze
60f215c278
Clarify the cleanups when using bundler-cache: true
2020-10-22 14:10:27 +02:00
Benoit Daloze
a195098f6b
Add Ruby 2.7.2 build from RubyInstaller
v1.47.0
2020-10-06 16:41:11 +02:00
Benoit Daloze
f117ca04d8
Add Ruby 2.7.2
2020-10-04 16:38:29 +02:00
dependabot[bot]
8bc9ca9ace
Bump @actions/core from 1.2.4 to 1.2.6
...
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core ) from 1.2.4 to 1.2.6.
- [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 )
Signed-off-by: dependabot[bot] <support@github.com >
v1.46.1
2020-10-01 22:10:14 +02:00
Benoit Daloze
965ef501d4
Tweak wording
2020-09-19 12:14:15 +02:00
Benoit Daloze
153ca5e38f
Update documentation about self-hosted runners
2020-09-19 12:06:35 +02:00
Benoit Daloze
0effb2cc50
Document that gems.rb/gems.locked is supported now
v1.46.0
2020-09-19 11:43:36 +02:00
Benoit Daloze
b62e5d53aa
Take advantage that detectGemfiles() only returns existing paths
...
* So use !== null instead of redoing the existsSync() check.
* Rename a few variables for consistency.
2020-09-19 11:31:18 +02:00
Samuel Williams
1c172ef5dc
Add support for gems.rb/gems.locked during bundle install ( #84 )
...
* Extract detection of gemfile and lockfile.
2020-09-19 11:18:52 +02:00
dependabot[bot]
4cbbce6b48
Bump node-fetch from 2.6.0 to 2.6.1
...
Bumps [node-fetch](https://github.com/bitinn/node-fetch ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases )
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-09-13 13:21:14 +02:00
Benoit Daloze
108b3a2c8a
Various cleanups
v1.45.0
2020-09-03 13:42:03 +02:00
Benoit Daloze
25ccf0aad8
Fix interpolation in addVCVARSEnv()
2020-09-03 13:42:03 +02:00
Benoit Daloze
9ec93a2370
Print the full $PATH with bash to help debugging
2020-09-03 13:21:50 +02:00
MSP-Greg
a096b998ad
Add Actions 'bash test' and 'Windows JRuby' (gem install sassc) steps
2020-09-03 12:13:49 +02:00
MSP-Greg
6ead459c74
Add envPreInstall, common.setupPath, use MSYS2 bash for Windows bash
...
envPreInstall - sets ENV values for runners
common.setupPath - collects all Path operations into one function, runs before Ruby install
Add MSYS2 paths to all Windows builds for MSYS2 Bash use
2020-09-03 12:13:49 +02:00
MSP-Greg
45ec312a6e
windows.js - remove code for embedded MSYS2
2020-09-03 12:13:49 +02:00