File tree Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Expand file tree Collapse file tree 2 files changed +11
-20
lines changed Original file line number Diff line number Diff line change 9
9
strategy :
10
10
matrix :
11
11
jruby_version :
12
- - 9.3.10 .0
13
- - 9.4.2 .0
12
+ - 9.3.15 .0
13
+ - 9.4.8 .0
14
14
fail-fast : false
15
15
steps :
16
16
- uses : actions/checkout@v4
@@ -19,24 +19,15 @@ jobs:
19
19
with :
20
20
java-version : 8
21
21
distribution : " temurin"
22
- - uses : ruby/setup-ruby@v1
23
- with :
24
- ruby-version : ' jruby-${{ matrix.jruby_version }}'
25
- bundler-cache : true
26
- - name : show ruby version
27
- run : ruby -v
28
- - name : bundle install
29
- run : bundle install
22
+ - name : download jruby
23
+ run : " curl -L -o jruby.jar https://repo1.maven.org/maven2/org/jruby/jruby-complete/${{ matrix.jruby_version }}/jruby-complete-${{ matrix.jruby_version }}.jar"
30
24
#
31
- # This step avoids the following error in the JRuby 9.4 test.
25
+ # For avoiding permission denied. install gems into `gems` directory
32
26
#
33
- # Gem::LoadError: You have already activated rake 13.0.6,
34
- # but your Gemfile requires rake 13.1.0. Prepending
35
- # `bundle exec` to your command may solve this.
36
- #
37
- - name : install rake 13.1.0
38
- run : gem install rake -v 13.1.0
27
+ - name : bundle install
28
+ run : " env GEM_HOME=gems java -jar jruby.jar -S bundle install"
29
+
39
30
- name : install embulk.jar
40
- run : " curl -L -o embulk.jar https://github.com/embulk/embulk/releases/download/v0.10.49 /embulk-0.10.49 .jar"
31
+ run : " curl -L -o embulk.jar https://github.com/embulk/embulk/releases/download/v0.11.4 /embulk-0.11.4 .jar"
41
32
- name : rake test
42
- run : bundle exec env RUBYOPT="-r ./embulk.jar" rake test
33
+ run : ' env GEM_HOME=gems RUBYOPT="-r ./embulk.jar -r rubygems" java -jar jruby.jar -S bundle exec rake test'
Original file line number Diff line number Diff line change 1
1
source 'https://rubygems.org/'
2
2
3
3
gemspec
4
- gem 'embulk' , '= 0.10.49 '
4
+ gem 'embulk' , '= 0.11.4 '
5
5
gem 'embulk-parser-none'
6
6
gem 'embulk-parser-jsonl'
7
7
gem 'pry-nav'
You can’t perform that action at this time.
0 commit comments