File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ jobs:
604604 with :
605605 name : artifact-openapi
606606 path : ${{ github.workspace }}/${{ steps.uccgen.outputs.OUTPUT }}/static/openapi.json
607- if : ${{ !cancelled() }}
607+ if : ${{ !cancelled() && needs.test-inventory.outputs.ucc_modinput_functional == 'true' && needs.test-inventory.outputs.modinput_functional == 'true' }}
608608 - name : artifact-splunk-base
609609 uses : actions/upload-artifact@v3
610610 with :
@@ -974,7 +974,7 @@ jobs:
974974 echo "k8s-manifests-branch=main"
975975 } >> "$GITHUB_OUTPUT"
976976 - uses : actions/download-artifact@v3
977- if : ${{ needs.test-inventory.outputs.ucc_modinput_functional == 'true' }}
977+ if : ${{ needs.test-inventory.outputs.ucc_modinput_functional == 'true' && needs.test-inventory.outputs.modinput_functional == 'true' }}
978978 id : download-openapi
979979 with :
980980 name : artifact-openapi
@@ -1004,7 +1004,7 @@ jobs:
10041004 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
10051005 run : |
10061006 swagger_name=swagger_$(basename "$BUILD_NAME" .spl)
1007- aws s3 sync "${{ github.workspace }}/tmp/restapi_client/" "s3://ta-production-artifacts/ta-apps/$swagger_name/" --exclude "*" --include "README.md" --include "*swagger_client*" --only-show-errors
1007+ aws s3 sync "${{ steps.download-openapi.outputs.download-path }}/tmp/restapi_client/" "s3://ta-production-artifacts/ta-apps/$swagger_name/" --exclude "*" --include "README.md" --include "*swagger_client*" --only-show-errors
10081008
10091009 run-knowledge-tests :
10101010 if : ${{ !cancelled() && needs.build.result == 'success' && needs.test-inventory.outputs.knowledge == 'true' && (needs.setup-workflow.outputs.execute-ko == 'Yes' || needs.setup-workflow.outputs.execute-knowledge-labeled == 'true') }}
You can’t perform that action at this time.
0 commit comments