From 996ff6ef1a6ac24f0365907dfb5215aedb041af0 Mon Sep 17 00:00:00 2001 From: nkalupahana Date: Sat, 20 Jan 2024 11:25:20 -0600 Subject: [PATCH] Install ruby in actions --- .github/workflows/firebase-hosting-merge.yml | 4 ++++ .github/workflows/firebase-hosting-pull-request.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index 7fcc05b..f68682a 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -11,6 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + bundler-cache: true - run: bundle install && bundle exec jekyll build - uses: FirebaseExtended/action-hosting-deploy@v0 with: diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml index 931f4a3..442a238 100644 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -9,6 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + bundler-cache: true - run: bundle install && bundle exec jekyll build - uses: FirebaseExtended/action-hosting-deploy@v0 with: