@@ -336,8 +336,12 @@ jobs:
336
336
- name : Test with mini_racer
337
337
run : |
338
338
export BUNDLE_FORCE_RUBY_PLATFORM=y
339
- git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
339
+ mkdir -p test/mini_racer
340
340
cd test/mini_racer
341
+ git init
342
+ git remote add origin https://github.com/bnoordhuis/mini_racer.git
343
+ git fetch --depth 1 origin ca55e826ba7c91b22efd84d281ede1f680e38b3d
344
+ git checkout FETCH_HEAD
341
345
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-ruby.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
342
346
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
343
347
bundle install
@@ -368,8 +372,12 @@ jobs:
368
372
run : gem install pkg/libv8-node-${{ needs.build-darwin.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}.gem
369
373
- name : Test with mini_racer
370
374
run : |
371
- git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
375
+ mkdir -p test/mini_racer
372
376
cd test/mini_racer
377
+ git init
378
+ git remote add origin https://github.com/bnoordhuis/mini_racer.git
379
+ git fetch --depth 1 origin ca55e826ba7c91b22efd84d281ede1f680e38b3d
380
+ git checkout FETCH_HEAD
373
381
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-darwin.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
374
382
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
375
383
bundle install
@@ -448,8 +456,12 @@ jobs:
448
456
run : docker exec -w "${PWD}" ${{ steps.container.outputs.id }} gem install pkg/libv8-node-${{ needs.build-linux.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}.gem
449
457
- name : Test with mini_racer
450
458
run : |
451
- git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
459
+ mkdir -p test/mini_racer
452
460
cd test/mini_racer
461
+ git init
462
+ git remote add origin https://github.com/bnoordhuis/mini_racer.git
463
+ git fetch --depth 1 origin ca55e826ba7c91b22efd84d281ede1f680e38b3d
464
+ git checkout FETCH_HEAD
453
465
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-linux.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
454
466
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
455
467
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle install
0 commit comments