File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change 1717 required : false
1818 type : string
1919 default : ' corretto'
20- sdk_generation_workflow_run_id :
21- description : ' ID of the SDK generation workflow run '
20+ sdk_key :
21+ description : ' Generated SDK artifact key '
2222 required : false
2323 type : string
24- default : ' '
24+ default : ' sdk '
2525 secrets :
2626 KEY :
2727 description : ' API Key'
@@ -35,22 +35,21 @@ jobs:
3535 runs-on : ubuntu-latest
3636 steps :
3737 - uses : actions/checkout@v4
38- if : ${{ inputs.sdk_generation_workflow_run_id != '' }}
38+ if : ${{ inputs.sdk_key != '' }}
3939 with :
4040 repository : ' ExpediaGroup/rapid-java-sdk'
41- - uses : dawidd6/action- download-artifact@v6
42- if : ${{ inputs.sdk_generation_workflow_run_id != '' }}
41+ - uses : actions/ download-artifact@v4
42+ if : ${{ inputs.sdk_key != '' }}
4343 with :
44- run_id : ${{ inputs.sdk_generation_workflow_run_id }}
45- name : sdk
44+ name : ${{ inputs.sdk_key }}
4645 path : examples/sdk
4746 - name : Set up JDK
4847 uses : actions/setup-java@v4
4948 with :
5049 java-version : ${{ inputs.jdk }}
5150 distribution : ${{ inputs.distribution }}
5251 - name : Install SDK into local repository
53- if : ${{ inputs.sdk_generation_workflow_run_id != '' }}
52+ if : ${{ inputs.sdk_key != '' }}
5453 working-directory : examples/sdk
5554 run : mvn install
5655 - name : Run Examples
You can’t perform that action at this time.
0 commit comments