File tree Expand file tree Collapse file tree 3 files changed +53
-2
lines changed Expand file tree Collapse file tree 3 files changed +53
-2
lines changed Original file line number Diff line number Diff line change 77 pull_request :
88 branches :
99 - " main"
10- schedule :
11- - cron : " 0 0 * * *"
1210 workflow_dispatch :
1311
1412jobs :
Original file line number Diff line number Diff line change 1+ name : " ci"
2+
3+ on :
4+ schedule :
5+ - cron : " 0 0 * * *"
6+ workflow_dispatch :
7+
8+ jobs :
9+
10+ spec :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ ruby_version :
15+ - ' 2.5'
16+ - ' 2.7'
17+ - ' 3.0'
18+ - ' 3.1'
19+ include :
20+ - ruby_version : ' 2.5'
21+ puppet_gem_version : ' ~> 6.0'
22+ - ruby_version : ' 2.7'
23+ puppet_gem_version : ' ~> 7.0'
24+ - ruby_version : ' 3.0'
25+ puppet_gem_version : ' ~> 7.0'
26+ - ruby_version : ' 3.1'
27+ puppet_gem_version : ' ~> 7.0'
28+ name : " spec (ruby ${{ matrix.ruby_version }} | puppet ${{ matrix.puppet_gem_version }})"
29+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_ci.yml@main"
30+ secrets : " inherit"
31+ with :
32+ ruby_version : ${{ matrix.ruby_version }}
33+ puppet_gem_version : ${{ matrix.puppet_gem_version }}
34+
35+ acceptance :
36+ needs : " spec"
37+ strategy :
38+ fail-fast : false
39+ matrix :
40+ ruby_version :
41+ - " 2.5"
42+ - " 2.7"
43+ - ' 3.0'
44+ - ' 3.1'
45+ name : " acceptance (ruby ${{ matrix.ruby_version }})"
46+ uses : " puppetlabs/cat-github-actions/.github/workflows/gem_acceptance.yml@main"
47+ secrets : " inherit"
48+ with :
49+ ruby_version : ${{ matrix.ruby_version }}
Original file line number Diff line number Diff line change 77 description : " The target for the release. This can be a commit sha or a branch."
88 required : false
99 default : " main"
10+ version :
11+ description : " Version of gem to be released."
12+ required : true
1013
1114jobs :
1215 release_prep :
1316 uses : " puppetlabs/cat-github-actions/.github/workflows/gem_release_prep.yml@main"
1417 with :
1518 target : " ${{ github.event.inputs.target }}"
19+ version : " ${{ github.event.inputs.version }}"
1620 secrets : " inherit"
You can’t perform that action at this time.
0 commit comments