.github/workflows/publish_gem.yml in govuk_markdown-2.0.1 vs .github/workflows/publish_gem.yml in govuk_markdown-2.0.2
- old
+ new
@@ -8,23 +8,23 @@
jobs:
build:
name: Publish to RubyGems.org
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.tag }}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
- ruby-version: '2.7.6'
+ ruby-version: '3.1.4'
- name: Install dependencies
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Publish gem
uses: dawidd6/action-publish-gem@v1
- with:
+ with:
api_key: ${{ secrets.RUBYGEMS_API_KEY }}