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
Benoit Daloze
568cdbf232
Revert "Add support for gems.rb/gems.locked during bundle install."
...
* This reverts commit 638e8fff19 .
* Needs some fixes and review.
2020-09-03 11:58:37 +02:00
Samuel Williams
638e8fff19
Add support for gems.rb/gems.locked during bundle install.
2020-09-03 10:48:45 +12:00
MSP-Greg
ad2d64d83c
@zeit/ncc -> @vercel/ncc, update package.json
v1.44.0
2020-08-23 13:50:07 +02:00
Scott Jacobsen
0ccde464c3
Bump @actions/cache version
...
The @actions/cache version currently being used has performance issue
with large gem caches. See https://github.com/actions/cache/issues/267
This was addressed here https://github.com/actions/toolkit/pull/497
Bump the @actions/cache version to a newer release that contains that
fix.
2020-08-22 11:17:58 +02:00
Benoit Daloze
bdfdb53a44
Try to fix quoting issue on Windows
2020-08-20 15:29:19 +02:00
Benoit Daloze
842f7a91c4
Fix the open-uri test to work on all versions
...
* open-uri no longer makes #open open URLs on MRI 2.8 dev
2020-08-19 16:43:17 +02:00
Benoit Daloze
6c10c0bae0
Add TruffleRuby 20.2.0
v1.43.0
2020-08-19 16:33:37 +02:00
Benoit Daloze
312f3d08ba
Improve the README, move the working directory section, mention $BUNDLE_GEMFILE
v1.42.0
2020-08-13 20:34:29 +02:00
Attila Večerek
273e7443b6
Move further explanation over to the README
2020-08-13 20:18:19 +02:00
Attila Večerek
33cc6f7238
Shorten the description in action.yml
2020-08-13 20:18:19 +02:00
Attila Večerek
7ac926d65e
Update description of bundler input in action.yml
2020-08-13 20:18:19 +02:00
Attila Večerek
1682e5e389
Read path to gemfile from env variable
2020-08-13 20:18:19 +02:00
Attila Večerek
25388a3d11
Accept a path in readBundledWithFromGemfileLock
2020-08-13 20:18:19 +02:00
Jakob Krigovsky
aa7df8d81f
Fix broken Markdown link
2020-08-13 19:50:42 +02:00
Benoit Daloze
162161eab5
Remove lint command
...
* eslint has been removed.
v1.41.0
2020-08-12 10:58:59 +02:00
Gregory Huczynski
c233f78bee
Add JRuby 9.2.13.0
2020-08-12 10:58:05 +02:00
Holger Just
5a76bd6a5f
Add support for Ruby 2.1 ( #71 )
v1.40.0
2020-07-16 22:23:31 +02:00
Benoit Daloze
40bbc5ec66
Also include the commit in the cache key for truffleruby-head
...
* That way new caches can be created if the previous cache is for a different commit.
v1.39.1
2020-07-11 16:08:35 +02:00
Benoit Daloze and Eliza Brock Marcum
1bb7de255b
Treat error from restoring the cache as a cache miss ( #68 )
...
* Don't retry or error out on restore cache errors
Co-authored-by: Eliza Brock Marcum <eliza@elizamarcum.com >
2020-07-11 16:02:33 +02:00
M. Adam Kendall
973b1baf94
Update README to reflect conditions for self-hosted runners
2020-07-09 01:07:29 +02:00
Benoit Daloze
ef4b00fd12
Mention JRuby 9.2.12.0 in the README
2020-07-02 11:35:41 +02:00
MSP-Greg
271876da60
Allow running external function before 'bundle install'
...
External actions may use setup-ruby, and some actions make changes/additions to the build environment. These may be needed for dependencies.
Hence, allow those external actions to run code before 'bundle install'. This is done by passing a function as a parameter to setupRuby().
v1.39.0
2020-07-01 21:22:43 +02:00
Benoit Daloze
5c4fc21c57
Add JRuby 9.2.12.0
2020-07-01 21:16:36 +02:00
Benoit Daloze
c8a88df157
Refactor how to call setup-ruby from other actions
...
* Automatically use inputs if available, use defaults otherwise.
2020-06-14 16:51:29 +02:00
Benoit Daloze
d57231c9a3
Implement automatic bundle install and caching
...
* Not yet enabled by default.
v1.38.0
2020-06-14 13:22:16 +02:00
Benoit Daloze
281d1c54fe
Add the @actions/cache package
2020-06-14 13:22:16 +02:00
Benoit Daloze
ea86920b92
Add windows-2016 to supported platforms
...
* Recommend to use *-latest.
v1.37.0
2020-06-11 13:22:47 +02:00
Johnny Willemsen
a43803ce44
Test all virtual environments, not just the latest, and added crontab ( #60 )
2020-06-11 13:15:53 +02:00
Benoit Daloze
bf8b766096
Cleanups
2020-06-10 23:44:28 +02:00
MSP-Greg
44338c51c7
Fix tar extraction with windows-2016 image
...
1. common.js - add function win2nix(path) to convert windows style paths to nix style
2. ruby_builder.js - use Git tar for windows-2016, leave windows-2019 as is
2020-06-10 23:41:09 +02:00
Sora Morimoto
037dfa7b6b
Update README.md
2020-06-09 15:38:02 +02:00
Benoit Daloze
6647273ce9
Add support for Ubuntu 20.04
v1.36.0
2020-06-07 13:16:44 +02:00
Benoit Daloze
071acb9122
Add script to conveniently print versions for ruby-builder
2020-06-07 13:00:19 +02:00
Benoit Daloze
ba5b846810
Add TruffleRuby 20.1.0
v1.35.0
2020-06-06 17:04:00 +02:00
Benoit Daloze
81be0938f7
Add an exported setupRuby() function which can be called from other actions
...
* Inputs are passed as simple object properties.
* It is recommended to expose the same inputs for other actions.
* See #58 and #33 .
v1.34.0
2020-06-06 13:52:42 +02:00
Benoit Daloze
b04e5b8846
Use Bundler 1 on Ruby 2.3
...
* At least until there is a new Bundler 2 release fixing this.
* Fixes https://github.com/ruby/setup-ruby/issues/51
v1.33.2
2020-06-06 13:16:46 +02:00
Benoit Daloze
a7df86edc6
A separate bundle config path vendor/bundle is needed for older Bundler
...
* See https://github.com/ruby/setup-ruby/pull/53#issuecomment-624827273
2020-05-16 18:55:34 +02:00
Scott Jacobsen
8137829321
Use the new deployment true config setting
2020-05-16 18:52:00 +02:00
Scott Jacobsen
a1d280134e
Use the --deployment flag for bundle install
...
`bundle install --deployment` should be used on CI environments - it sets additional options beyond the install path (ensures the Gemfile.lock is checked in, up to date, etc). https://bundler.io/v2.0/man/bundle-install.1.html#DEPLOYMENT-MODE
2020-05-16 18:52:00 +02:00
Benoit Daloze
d01e942f09
Link to condition and expression syntax docs too
2020-05-15 13:48:07 +02:00
Benoit Daloze
e74945bcae
Update README example workflows
...
* Show how to continue-on-error for head builds.
* Use the typical `bundle install` + `bundle exec rake` commands.
2020-05-15 13:29:19 +02:00
Benoit Daloze
8bff4379b9
Ruby 2.4 is EOL
2020-05-15 13:22:42 +02:00
Benoit Daloze
23b9735206
Fix checks for head versions
...
* Always use common.isHeadVersion().
v1.33.1
2020-05-15 13:01:01 +02:00