From d2aaf85f9a2ae6569731258648713927b350eb70 Mon Sep 17 00:00:00 2001 From: AJ Schmidt Date: Tue, 30 May 2023 13:59:54 -0400 Subject: [PATCH] Add `RAPIDS_DOCS_DIR` to `custom-job.yaml` (#93) This PR is necessary for https://github.com/rapidsai/gha-tools/pull/56. Note: the path in this PR uses `/tmp` instead of the `${{ github.workspace }}` convention used in places like this: https://github.com/rapidsai/shared-action-workflows/blob/914f969d872d37d57f5449407635fc3ddb8d8e4b/.github/workflows/conda-cpp-tests.yaml#L103-L105 The problem with `github.workspace` is that it's the same directory that the code is checked out to. Therefore since a `docs` directory already exists in `cudf`'s root directory, this would cause problems. Assuming this `/tmp` path works as expected, I will open up a follow-up PR to update the `github.workspace` instances to follow this convention. --- .github/workflows/custom-job.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/custom-job.yaml b/.github/workflows/custom-job.yaml index 18c08eb9..efdff43b 100644 --- a/.github/workflows/custom-job.yaml +++ b/.github/workflows/custom-job.yaml @@ -49,6 +49,8 @@ jobs: strategy: fail-fast: false runs-on: "linux-${{ inputs.arch }}-${{ inputs.node_type }}" + env: + RAPIDS_DOCS_DIR: /tmp/docs container: image: ${{ inputs.container_image }} env: