Skip to content

release: 0.3.0

release: 0.3.0 #11

Workflow file for this run

name: publish
on:
push:
branches: [main]
paths: ["lib/mime_actor/version.rb"]
jobs:
rubygems:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run Rspec
run: |
bundle exec rake spec
- name: Setup git email and name for tagging
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Release New Version
run: |
bundle exec rake release
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"