File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Tag and release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - ' lib/puppet/resource_api/version.rb'
9+
10+ jobs :
11+ release :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v3
15+ with :
16+ fetch-depth : ' 0'
17+ - name : Bump version and push tag
18+ uses :
anothrNick/[email protected] 19+ env :
20+ GITHUB_TOKEN : ${{ secrets.PUPPET_RELEASE_GH_TOKEN }}
21+ DEFAULT_BUMP : patch
22+ TAG_CONTEXT : branch
23+ WITH_V : false
24+ # Uncomment this if the tag and version file become out-of-sync and
25+ # you need to tag at a specific version.
26+ # CUSTOM_TAG:
27+ - name : Build gem
28+ uses : scarhand/actions-ruby@master
29+ with :
30+ args : build *.gemspec
31+ - name : Publish gem
32+ uses : scarhand/actions-ruby@master
33+ env :
34+ RUBYGEMS_AUTH_TOKEN : ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
35+ with :
36+ args : push *.gem
You can’t perform that action at this time.
0 commit comments