Skip to content

Commit

Permalink
gem building, verification
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloboyle committed Aug 14, 2024
1 parent 8ba51fb commit a87c409
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,22 @@ jobs:
- '3.1.6'

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run the default task
run: bundle exec rake
- uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Install dependencies
run: bundle install

- name: Run the default task
run: bundle exec rake

- name: Build the gem
run: gem build obsidian_api.gemspec

- name: Verify gem installation
run: gem install ./obsidian_api-*.gem

0 comments on commit a87c409

Please sign in to comment.