diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d14fbff..0243ee8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,16 +11,22 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Ruby - uses: actions/setup-ruby@v1 + uses: ruby/setup-ruby@v1 with: - ruby-version: '2.7' + ruby-version: '3.2' + bundler-cache: true # This will cache dependencies + + - name: Update Bundler + run: | + gem update --system + bundle update --bundler - name: Install dependencies run: | - gem install bundler + rm -f Gemfile.lock # Remove existing lockfile bundle install - name: Build site