Skip to content

Commit

Permalink
Kintsugi: Add release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
byohay committed May 1, 2022
1 parent 111632d commit 7f291d8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on: workflow_dispatch

jobs:
main-job:
name: Release
runs-on: ubuntu-latest
env:
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.5.8

- name: Publish to rubygems.org
run: |
gem build *.gemspec
gem push *.gem
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml → .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Tests

on:
push:
Expand Down

0 comments on commit 7f291d8

Please sign in to comment.