Skip to content

Commit

Permalink
Merge pull request #110 from puppetlabs/revert-109-gem_actions
Browse files Browse the repository at this point in the history
Revert "Adding ruby version as an input for the gem workflows"
  • Loading branch information
david22swan authored Sep 24, 2024
2 parents 3f7f429 + c215f13 commit c6a80f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/gem_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ on:
required: false
default: "main"
type: "string"
ruby-version:
description: "Ruby version to use."
required: false
default: "2.7"
type: "string"

jobs:
release:
Expand All @@ -35,7 +30,7 @@ jobs:
- name: "Setup ruby"
uses: "ruby/setup-ruby@v1"
with:
ruby-version: ${{ github.event.inputs.ruby-version }}
ruby-version: "2.7"
bundler-cache: "true"

- name: "Bundle environment"
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/gem_release_prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ on:
description: "Version of gem to be released."
required: true
type: "string"
ruby-version:
description: "Ruby version to use."
required: false
default: "2.7"
type: "string"

jobs:
release_prep:
Expand All @@ -39,7 +34,7 @@ jobs:
- name: "setup ruby"
uses: "ruby/setup-ruby@v1"
with:
ruby-version: ${{ github.event.inputs.ruby-version }}
ruby-version: "2.7"
bundler-cache: "true"

- name: "bundle environment"
Expand Down

0 comments on commit c6a80f3

Please sign in to comment.