Skip to content

Commit b98f1f1

Browse files
authored
Merge pull request #102 from puppetlabs/feat-add_ruby_input_mend
(feat) - Add ruby version input to mend
2 parents e06018d + aa07c81 commit b98f1f1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/tooling_mend_ruby.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ on:
1414
product_name:
1515
default: 'DevX'
1616
type: string
17+
ruby_version:
18+
description: "The target Ruby version."
19+
required: false
20+
default: "2.7"
21+
type: "string"
1722

1823
env:
1924
MEND_API_KEY: ${{ secrets.MEND_API_KEY != '' && secrets.MEND_API_KEY || inputs.api_key }}
@@ -47,7 +52,7 @@ jobs:
4752
if: success()
4853
uses: "ruby/setup-ruby@v1"
4954
with:
50-
ruby-version: 2.7
55+
ruby-version: ${{ inputs.ruby_version }}
5156

5257
- name: "bundle lock"
5358
if: success()

0 commit comments

Comments
 (0)