File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release to RubyGems
2
+
3
+ " on " :
4
+ push :
5
+ branches :
6
+ - release/*
7
+
8
+ jobs :
9
+ pre-release-check :
10
+ uses : cucumber/.github/.github/workflows/prerelease-checks.yml@main
11
+
12
+ test :
13
+ uses : ./.github/workflows/ruby.yml
14
+
15
+ publish-rubygem :
16
+ name : Publish Ruby Gem
17
+ needs : [pre-release-check, test]
18
+ runs-on : ubuntu-latest
19
+ environment : Release
20
+ steps :
21
+ - uses : actions/checkout@v4
22
+ -
uses :
cucumber/[email protected]
23
+ with :
24
+ rubygems_api_key : ${{ secrets.RUBYGEMS_API_KEY }}
25
+
26
+ create-github-release :
27
+ name : Create GitHub Release and Git tag
28
+ needs : publish-rubygem
29
+ runs-on : ubuntu-latest
30
+ environment : Release
31
+ permissions :
32
+ contents : write
33
+ steps :
34
+ - uses : actions/checkout@v4
35
+ -
uses :
cucumber/[email protected]
36
+ with :
37
+ github-token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments