-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Corey Hemminger <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ name: Lint & Unit test | |
workflow_call: | ||
inputs: | ||
bundle_with: | ||
description: "Bundle with option for Chefstyle, chose the bundler group that Chefstyle is in" | ||
description: "Chose the bundler group name that Chefstyle is in" | ||
type: "string" | ||
required: false | ||
default: "chefstyle" | ||
|
@@ -29,7 +29,8 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Check for Gemfile | ||
id: check | ||
run: echo "::set-output name=gemfile::$(if [ -f Gemfile ]; then echo 'true'; else echo 'false'; fi)" | ||
run: | | ||
echo "gemfile::$(if [ -f Gemfile ]; then echo 'true'; else echo 'false'; fi)" >> $GITHUB_OUTPUT | ||
- name: Setup Ruby | ||
if: steps.check.outputs.gemfile == 'true' | ||
uses: ruby/[email protected] | ||
|
@@ -76,7 +77,8 @@ jobs: | |
uses: actions/checkout@v4 | ||
- name: Check for Gemfile | ||
id: check | ||
run: echo "::set-output name=gemfile::$(if [ -f Gemfile ]; then echo 'true'; else echo 'false'; fi)" | ||
run: | | ||
echo "gemfile::$(if [ -f Gemfile ]; then echo 'true'; else echo 'false'; fi)" >> $GITHUB_OUTPUT | ||
- name: Setup Ruby | ||
if: steps.check.outputs.gemfile == 'true' | ||
uses: ruby/[email protected] | ||
|