File tree Expand file tree Collapse file tree 3 files changed +22
-10
lines changed
Expand file tree Collapse file tree 3 files changed +22
-10
lines changed Original file line number Diff line number Diff line change 11name : Release
22
33on :
4- release :
5- types : [published]
4+ push :
5+ tags :
6+ - " [0-9]+.[0-9]+.[0-9]+"
67
78jobs :
89 release :
9- runs-on : ubuntu-20 .04
10+ runs-on : ubuntu-22 .04
1011 steps :
1112 - name : Checkout
1213 uses : actions/checkout@v3
13-
14+
1415 - name : Set up Ruby
1516 uses : ruby/setup-ruby@v1
1617 with :
1718 ruby-version : 3.1
1819 bundler-cache : true
19-
20+
2021 - name : Test
2122 run : bundle exec rake
22-
23+
2324 - name : Release
2425 run : bundle exec rake release
2526 env :
2627 GEM_HOST_API_KEY : ${{ secrets.RUBYGEMS_TOKEN }}
28+
29+ gh-release :
30+ runs-on : ubuntu-22.04
31+ steps :
32+ - name : Checkout
33+ uses : actions/checkout@v3
34+
35+ - uses : softprops/action-gh-release@v1
36+ with :
37+ token : ${{ secrets.GITHUB_TOKEN }}
38+ generate_release_notes : true
Original file line number Diff line number Diff line change 66
77jobs :
88 stale :
9- runs-on : ubuntu-20 .04
9+ runs-on : ubuntu-22 .04
1010 steps :
1111 - uses : actions/stale@v5
1212 with :
Original file line number Diff line number Diff line change 1111jobs :
1212 rubocop :
1313 name : Rubocop
14- runs-on : ubuntu-20 .04
14+ runs-on : ubuntu-22 .04
1515 steps :
1616 - name : Checkout
1717 uses : actions/checkout@v3
2525
2626 rspec :
2727 name : Rspec ruby-${{ matrix.ruby }}
28- runs-on : ubuntu-20 .04
28+ runs-on : ubuntu-22 .04
2929 needs : rubocop
3030 strategy :
3131 matrix :
5656
5757 report :
5858 name : Allure report
59- runs-on : ubuntu-20 .04
59+ runs-on : ubuntu-22 .04
6060 needs : rspec
6161 if : always()
6262 steps :
You can’t perform that action at this time.
0 commit comments