File tree Expand file tree Collapse file tree 3 files changed +20
-17
lines changed
Expand file tree Collapse file tree 3 files changed +20
-17
lines changed Original file line number Diff line number Diff line change 1- name : Taskinator
1+ name : Build
22
33on :
44 push :
55 branches : [ master ]
6- tags :
7- - ' *'
86
97 pull_request :
108 branches : [ master ]
2826 run : bundle exec rake build
2927 - name : Run tests
3028 run : bundle exec rake spec
31-
32- publish :
33- if : ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v*') }}
34- needs : build
35- runs-on : ubuntu-latest
36- steps :
37- - uses : actions/checkout@v3
38- - name : Release Gem
39- uses : virtualstaticvoid/publish-rubygems-action@v3
40- env :
41- RUBYGEMS_API_KEY : ${{secrets.RUBYGEMS_API_KEY}}
42- GIT_NAME : Chris Stefano
43-
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ release :
5+ types : [ published ]
6+
7+ jobs :
8+ publish :
9+ if : ${{ github.event_name == 'release' && github.event.action == 'published' }}
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v3
13+ - name : Release Gem
14+ uses : virtualstaticvoid/publish-rubygems-action@v3
15+ env :
16+ GIT_NAME : " Chris Stefano"
17+ 18+ RUBYGEMS_API_KEY : ${{secrets.RUBYGEMS_API_KEY}}
Original file line number Diff line number Diff line change 11# Taskinator
22
33[ ![ Gem Version] ( https://badge.fury.io/rb/taskinator.svg )] ( http://badge.fury.io/rb/taskinator )
4- [ ![ Build Status] ( https://github.com/virtualstaticvoid/taskinator/actions/workflows/taskinator .yml/badge.svg )] ( https://github.com/virtualstaticvoid/taskinator/actions/workflows/taskinator .yml )
4+ [ ![ Build Status] ( https://github.com/virtualstaticvoid/taskinator/actions/workflows/build .yml/badge.svg )] ( https://github.com/virtualstaticvoid/taskinator/actions/workflows/build .yml )
55[ ![ Code Climate] ( https://codeclimate.com/github/virtualstaticvoid/taskinator.png )] ( https://codeclimate.com/github/virtualstaticvoid/taskinator )
66
77A simple orchestration library for running complex processes or workflows in Ruby.
You can’t perform that action at this time.
0 commit comments