diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index 4ae2bbe..0ed539e 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -21,7 +21,7 @@ jobs: build-core-site: needs: cancel-superseded name: Build core site - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Cancel Previous Runs uses: styfle/cancel-workflow-action@0.11.0 @@ -32,22 +32,10 @@ jobs: uses: actions/checkout@v3 - name: Set up Ruby 2.7 - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: - ruby-version: 2.7 - - - uses: actions/cache@v3 - with: - path: /opt/hostedtoolcache/Ruby/2.7.2/x64/lib/ruby/gems - key: ${{ runner.os }}-gems-v3-${{ hashFiles('**/Gemfile.lock') }} - restore-keys: | - ${{ runner.os }}-gems-v3 - - - name: Install deps - run: | - gem update --system --no-document - gem install bundler jekyll - bundle install + ruby-version: '2.7' + bundler-cache: true # runs 'bundle install' and caches installed gems automatically - uses: actions/setup-node@v3 with: