Skip to content

Commit

Permalink
Add checkout, setup and gem install steps (#29)
Browse files Browse the repository at this point in the history
I thought these steps were handled by the action but they aren't.

Tested with an alpha `v0.2a`
[release](https://rubygems.org/gems/govuk-rspec-helpers/versions/0.2a)
and tag.
  • Loading branch information
peteryates authored Oct 3, 2023
1 parent 6375557 commit 119bf34
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ jobs:
name: Publish to RubyGems.org and GitHub Packages
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.tag }}

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.4'

- name: Install gems
run: |
gem install bundler
bundle install --jobs 4 --retry 3
- name: Publish gem
uses: dawidd6/action-publish-gem@v1
with:
Expand Down

0 comments on commit 119bf34

Please sign in to comment.