Release 0.3.6 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Ruby Gem | |
on: [push] | |
jobs: | |
build-and-publish: | |
name: Build and publish Gem to RubyGems | |
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- name: Build and Push Gem | |
env: | |
GEM_HOST_API_KEY: ${{ secrets.RUBYGEM_API_KEY }} | |
run: | | |
gem build vellum_ai.gemspec | |
gem push vellum_ai-*.gem --host https://rubygems.org |