Skip to content

Merge pull request #61 from dxw/dependabot/bundler/rspec-3.13.0 #7

Merge pull request #61 from dxw/dependabot/bundler/rspec-3.13.0

Merge pull request #61 from dxw/dependabot/bundler/rspec-3.13.0 #7

Workflow file for this run

name: Publish to rubygems
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3.5
- name: Setup Rubygems
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
run: |
bash .github/setup-rubygems.sh
- name: Publish to Rubygems
run: |
gem build opsgenie-schedule.gemspec
gem push "opsgenie-schedule-$(git describe --tags).gem"