From 8529ed25a2d2d84e4c67e0162f33f09963b2f78f Mon Sep 17 00:00:00 2001 From: bob walker Date: Tue, 28 Feb 2023 11:26:17 +0000 Subject: [PATCH] Fix CI workflows specify a ruby version and use the ruby version of setup-ruby --- .github/workflows/build.yml | 4 ++-- .github/workflows/publish.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8268108..bf24dfa 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,9 +10,9 @@ jobs: steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6.x + ruby-version: 2.6.10 - name: Build and test with Rake run: | gem install bundler diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4473ceb..ad17789 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,9 +11,9 @@ jobs: steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.6 - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: - ruby-version: 2.6.x + ruby-version: 2.6.10 - name: Setup Rubygems env: RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}