File tree 2 files changed +43
-3
lines changed
2 files changed +43
-3
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/test.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/action-publish-rubygem@v1.0.0
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/action-create-github-release@v1.1.1
36
+ with :
37
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -6,12 +6,15 @@ name: CI
6
6
7
7
" on " :
8
8
push :
9
- branches : [main]
9
+ branches :
10
+ - main
10
11
pull_request :
11
- branches : [main]
12
+ branches :
13
+ - main
14
+ workflow_call :
15
+ workflow_dispatch :
12
16
schedule :
13
17
- cron : ' 16 4 12 * *'
14
- workflow_dispatch :
15
18
16
19
env :
17
20
CUCUMBER_PUBLISH_QUIET : true
You can’t perform that action at this time.
0 commit comments