Skip to content

Commit

Permalink
Merge pull request #126 from puppetlabs/actions
Browse files Browse the repository at this point in the history
Adding ruby version input to the action.
  • Loading branch information
malikparvez authored Sep 20, 2024
2 parents a70dcc1 + 2716e72 commit d10e8ab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ on:
description: "The target for the release. This can be a commit sha or a branch."
required: false
default: "main"
ruby-version:
description: "Ruby version to use."
required: false
default: "3.1"

jobs:
release:
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release.yml@main"
with:
target: "${{ github.event.inputs.target }}"
ruby-version: "${{ github.event.inputs.ruby-version }}"
secrets: "inherit"
7 changes: 6 additions & 1 deletion .github/workflows/release_prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,16 @@ on:
version:
description: "Version of gem to be released."
required: true
ruby-version:
description: "Ruby version to use."
required: false
default: "3.1"

jobs:
release_prep:
uses: "puppetlabs/cat-github-actions/.github/workflows/gem_release_prep.yml@main"
with:
target: "${{ github.event.inputs.target }}"
version: "${{ github.events.inputs.version }}"
version: "${{ github.event.inputs.version }}"
ruby-version: "${{ github.event.inputs.ruby-version }}"
secrets: "inherit"

0 comments on commit d10e8ab

Please sign in to comment.