Skip to content

Commit c6a80f3

Browse files
authored
Merge pull request #110 from puppetlabs/revert-109-gem_actions
Revert "Adding ruby version as an input for the gem workflows"
2 parents 3f7f429 + c215f13 commit c6a80f3

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/gem_release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ on:
1111
required: false
1212
default: "main"
1313
type: "string"
14-
ruby-version:
15-
description: "Ruby version to use."
16-
required: false
17-
default: "2.7"
18-
type: "string"
1914

2015
jobs:
2116
release:
@@ -35,7 +30,7 @@ jobs:
3530
- name: "Setup ruby"
3631
uses: "ruby/setup-ruby@v1"
3732
with:
38-
ruby-version: ${{ github.event.inputs.ruby-version }}
33+
ruby-version: "2.7"
3934
bundler-cache: "true"
4035

4136
- name: "Bundle environment"

.github/workflows/gem_release_prep.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@ on:
1616
description: "Version of gem to be released."
1717
required: true
1818
type: "string"
19-
ruby-version:
20-
description: "Ruby version to use."
21-
required: false
22-
default: "2.7"
23-
type: "string"
2419

2520
jobs:
2621
release_prep:
@@ -39,7 +34,7 @@ jobs:
3934
- name: "setup ruby"
4035
uses: "ruby/setup-ruby@v1"
4136
with:
42-
ruby-version: ${{ github.event.inputs.ruby-version }}
37+
ruby-version: "2.7"
4338
bundler-cache: "true"
4439

4540
- name: "bundle environment"

0 commit comments

Comments
 (0)