File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: Run Examples
22on :
33 workflow_call :
44 inputs :
5+ source :
6+ description : ' Source of SDK to Test'
7+ required : true
8+ type : string
9+ default : ' specs'
510 sdk_version :
611 description : ' SDK version to run examples for'
712 required : false
3944 with :
4045 repository : ' ExpediaGroup/rapid-java-sdk'
4146 - uses : actions/download-artifact@v4
42- if : ${{ inputs.sdk_key != ' ' }}
47+ if : ${{ inputs.source == 'specs ' }}
4348 with :
4449 name : ${{ inputs.sdk_key }}
4550 path : examples/sdk
4954 java-version : ${{ inputs.jdk }}
5055 distribution : ${{ inputs.distribution }}
5156 - name : Install SDK into local repository
52- if : ${{ inputs.sdk_key != ' ' }}
57+ if : ${{ inputs.source == 'specs ' }}
5358 working-directory : examples/sdk
5459 run : mvn install
5560 - name : Run Examples
You can’t perform that action at this time.
0 commit comments