Skip to content

Fix version number

Fix version number #8

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"