From 92beffcb8eaf3011b5e10301b36454edb79949a8 Mon Sep 17 00:00:00 2001 From: "Ali(Ako) Hosseini" Date: Mon, 8 Jan 2024 13:32:21 +0800 Subject: [PATCH] ci: add ruby setup action --- .github/workflows/release-production.yml | 3 +++ .github/workflows/release-staging.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.yml index a913535c..efc5f807 100644 --- a/.github/workflows/release-production.yml +++ b/.github/workflows/release-production.yml @@ -10,6 +10,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 - name: Bundle Install uses: ./.github/actions/bundle_install - name: Build Jekyll site diff --git a/.github/workflows/release-staging.yml b/.github/workflows/release-staging.yml index 4573b4b3..f1f0703c 100644 --- a/.github/workflows/release-staging.yml +++ b/.github/workflows/release-staging.yml @@ -10,6 +10,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 - name: Bundle Install uses: ./.github/actions/bundle_install - name: Build Jekyll site