From 8bfe599271097f10cc82a6f054a53ee28757f7f0 Mon Sep 17 00:00:00 2001 From: onevcat Date: Sat, 9 Nov 2024 20:48:19 +0900 Subject: [PATCH] Use rbenv --- .github/workflows/build.yaml | 4 +++- .github/workflows/test.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index db3fe7ee9..1b364c88a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -26,7 +26,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Gems - run: rbenv init & bundle install + run: | + eval "$(rbenv init -)" + bundle install - name: Build framework env: DESTINATION: platform=${{ matrix.destination }} diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bbbf68ca3..fc8a01cab 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,7 +25,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Install Gems - run: rbenv init & bundle install + run: | + eval "$(rbenv init -)" + bundle install - name: Run tests env: DESTINATION: platform=${{ matrix.destination }}