Skip to content

Commit

Permalink
Add support for eden_version input in test workflow
Browse files Browse the repository at this point in the history
When the workflow is triggered from the outside, action/checkout
defaults to checking out the latest master which is not always desired.
For better compatibility with older EVE release the user should be able
to specify the version of eden to be used in the test workflow. If no
version is specified, the workflow should resert to the default behavior.

Signed-off-by: Paul Gaiduk <[email protected]>
  • Loading branch information
europaul authored and uncleDecart committed Feb 13, 2024
1 parent d698974 commit 8beb33a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ on: # yamllint disable-line rule:truthy
type: string
workflow_call:
inputs:
eden_version:
type: string
required: false
default: '' # if not provided: When checking out the repository that triggered a workflow, this defaults to the reference or SHA for that event. Otherwise, uses the default branch.
eve_image:
type: string
eve_artifact_name:
Expand Down

0 comments on commit 8beb33a

Please sign in to comment.