Skip to content

Commit

Permalink
TEMP: workflow workarounds for ruby3 branch
Browse files Browse the repository at this point in the history
Co-authored-by: Sean Molenaar <[email protected]>
  • Loading branch information
Bo98 and SMillerDev committed Aug 23, 2023
1 parent 7296068 commit 0d47178
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,21 @@ jobs:
name: bottles
path: ${{matrix.workdir || github.workspace}}/bottle

- name: Test Portable Ruby
- name: Extract Portable Ruby
run: |
mkdir -p portable-ruby/
tar --strip-components 2 -C portable-ruby -xf bottle/portable-ruby--*.tar.gz
- name: Install gems (TEMP FOR RUBY 3)
run: |
export PATH="${PWD}/portable-ruby/bin:${PATH}"
export HOMEBREW_USE_RUBY_FROM_PATH=1
export MAKE="make V=1"
cd $(brew --repo)/Library/Homebrew
bundle install
- name: Test Portable Ruby
run: |
export PATH="${PWD}/portable-ruby/bin:${PATH}"
export HOMEBREW_USE_RUBY_FROM_PATH=1
rm -rf "$(brew --repo)/Library/Homebrew/vendor/portable-ruby"
Expand All @@ -70,3 +81,4 @@ jobs:
run: |
brew test-bot --only-cleanup-after
rm -rvf bottle portable-ruby
rm -rvf cd $(brew --repo)/Library/Homebrew/vendor/bundle/ruby/3.*

0 comments on commit 0d47178

Please sign in to comment.