From adeeb98963ddb5deb7b5a40447c71690447ce808 Mon Sep 17 00:00:00 2001 From: Jake Awe Date: Mon, 21 Oct 2024 14:11:34 -0500 Subject: [PATCH] fix checks --- .github/workflows/deploy-cudf-java-docs.yaml | 2 +- ci/upload_cudf_java_docs.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-cudf-java-docs.yaml b/.github/workflows/deploy-cudf-java-docs.yaml index f185b6cb299..cfda45ecbf9 100644 --- a/.github/workflows/deploy-cudf-java-docs.yaml +++ b/.github/workflows/deploy-cudf-java-docs.yaml @@ -31,7 +31,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - + - uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ vars.AWS_ROLE_ARN }} diff --git a/ci/upload_cudf_java_docs.sh b/ci/upload_cudf_java_docs.sh index 59984382672..459734c5b61 100755 --- a/ci/upload_cudf_java_docs.sh +++ b/ci/upload_cudf_java_docs.sh @@ -1,4 +1,5 @@ #!/bin/bash +# Copyright (c) 2024, NVIDIA CORPORATION. set -euo pipefail @@ -35,7 +36,7 @@ main() { patch=${patch:-0} # handle patch values like 00 local url="https://repo1.maven.org/maven2/ai/rapids/cudf/${major}.${minor}.${patch}/cudf-${major}.${minor}.${patch}-javadoc.jar" - + if ! wget --spider "$url" 2>/dev/null; then echo "Error: Documentation not found at $url" >&2 exit 1