Skip to content

Commit 5f8671e

Browse files
committed
drop! clone bnoordhuis/mini_racer
1 parent b234a71 commit 5f8671e

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,12 @@ jobs:
336336
- name: Test with mini_racer
337337
run: |
338338
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
340340
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
341345
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-ruby.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
342346
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
343347
bundle install
@@ -368,8 +372,12 @@ jobs:
368372
run: gem install pkg/libv8-node-${{ needs.build-darwin.outputs.GEM_VERSION }}-${{ steps.set-metadata.outputs.GEM_PLATFORM }}.gem
369373
- name: Test with mini_racer
370374
run: |
371-
git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
375+
mkdir -p test/mini_racer
372376
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
373381
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-darwin.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
374382
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
375383
bundle install
@@ -448,8 +456,12 @@ jobs:
448456
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
449457
- name: Test with mini_racer
450458
run: |
451-
git clone https://github.com/rubyjs/mini_racer.git test/mini_racer --depth 1
459+
mkdir -p test/mini_racer
452460
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
453465
ruby -i -ne '$_ =~ /^\s+LIBV8_NODE_VERSION/ ? print(" LIBV8_NODE_VERSION = \"${{ needs.build-linux.outputs.GEM_VERSION }}\"\n") : print' lib/mini_racer/version.rb
454466
ruby -i -ne '$_ =~ /spec.required_ruby_version/ ? "" : print' mini_racer.gemspec
455467
docker exec -w "${PWD}" ${{ steps.container.outputs.id }} bundle install

0 commit comments

Comments
 (0)