Update CI deployments to be dependent on Check Samples

Closes gh-10207
This commit is contained in:
Marcus Da Coregio 2021-08-19 10:07:52 -03:00
parent be91a78781
commit d0fbe6b501
1 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ jobs:
./gradlew checkSamples --stacktrace
deploy_artifacts:
name: Deploy Artifacts
needs: [build_jdk_11, snapshot_tests]
needs: [build_jdk_11, snapshot_tests, check_samples]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -128,7 +128,7 @@ jobs:
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
deploy_docs:
name: Deploy Docs
needs: [build_jdk_11, snapshot_tests]
needs: [build_jdk_11, snapshot_tests, check_samples]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -152,7 +152,7 @@ jobs:
DOCS_HOST: ${{ secrets.DOCS_HOST }}
deploy_schema:
name: Deploy Schema
needs: [build_jdk_11, snapshot_tests]
needs: [build_jdk_11, snapshot_tests, check_samples]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -176,7 +176,7 @@ jobs:
DOCS_HOST: ${{ secrets.DOCS_HOST }}
notify_result:
name: Check for failures
needs: [build_jdk_11, snapshot_tests, deploy_artifacts, deploy_docs, deploy_schema]
needs: [build_jdk_11, snapshot_tests, check_samples, deploy_artifacts, deploy_docs, deploy_schema]
if: failure()
runs-on: ubuntu-latest
steps: