File tree 1 file changed +5
-10
lines changed
1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change 40
40
- name : Test
41
41
run : bundle exec rake spec
42
42
43
- - name : Setup Rubygems credentials
44
- uses : fac/ruby-gem-setup-credentials-action@v2
45
- if : github.event_name == 'push'
46
- && github.ref == 'refs/heads/main'
47
- && github.repository == 'corgibytes/freshli-commons'
48
- && !contains(toJSON(github.event.commits.*.message), '[skip release]')
49
- with :
50
- token : ${{ secrets.RUBYGEMS_API_KEY }}
51
-
52
43
- name : Bump version
53
44
if : github.event_name == 'push'
54
45
&& github.ref == 'refs/heads/main'
70
61
&& github.ref == 'refs/heads/main'
71
62
&& github.repository == 'corgibytes/freshli-commons'
72
63
&& !contains(toJSON(github.event.commits.*.message), '[skip release]')
73
- run : bundle exec rake release
64
+ uses : cadwallion/publish-rubygems-action@master
65
+ env :
66
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
67
+ RUBYGEMS_API_KEY : ${{secrets.RUBYGEMS_API_KEY}}
68
+ RELEASE_COMMAND : bundle exec rake release
You can’t perform that action at this time.
0 commit comments