Skip to content

Commit

Permalink
ci: get-engines - add verbose toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
mmichaelis committed Dec 7, 2023
1 parent 9935add commit 26deaf7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/get-engines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,18 @@ name: get-engines

on:
workflow_dispatch:
inputs:
verbose:
description: "If to output the resulting versions as summary."
required: false
type: boolean
default: false
workflow_call:
inputs:
verbose:
required: false
type: boolean
default: false
outputs:
nodeVersion:
description: "Determined node version from package.json"
Expand Down Expand Up @@ -46,7 +57,7 @@ jobs:
echo "result=${result}" >> $GITHUB_OUTPUT
report:
name: "Report results"
if: github.event_name == 'workflow_dispatch'
if: ${{ inputs.verbose }}
runs-on: ubuntu-latest
timeout-minutes: 5
needs:
Expand Down

0 comments on commit 26deaf7

Please sign in to comment.