Skip to content

Commit 38b5589

Browse files
committed
LEGATE_GH_CI_DIR -> REPO_DIR.
1 parent c668b8b commit 38b5589

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/actions/build/action.yml.j2

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,19 +77,17 @@ runs:
7777
-e USE_CUDA="$USE_CUDA" \
7878
-e REPO_DIR="$REPO_DIR" \
7979
-e LEGATE_CORE_BUILD_MODE="$LEGATE_CORE_BUILD_MODE" \
80-
-e LEGATE_GH_CI_DIR="${{ env.LEGATE_GH_CI_DIR }}" \
8180
-e PYTHON_VERSION="$PYTHON_VERSION" \
8281
-v "${{ env.REPO_DIR }}:${{ env.REPO_DIR }}" \
83-
-v "${{ env.LEGATE_GH_CI_DIR }}:${{ env.LEGATE_GH_CI_DIR }}" \
8482
-v "${{ env.ARTIFACTS_DIR }}:${{ env.ARTIFACTS_DIR }}" \
8583
--rm "${{ inputs.docker-image }}" \
86-
/bin/bash -c "${{ env.LEGATE_GH_CI_DIR }}/scripts/entrypoint ${{ env.REPO_DIR }}/continuous_integration/scripts/build ${{ inputs.build-type}} ${{ inputs.target-device }}"
84+
/bin/bash -c "${{ env.REPO_DIR }}/scripts/entrypoint ${{ env.REPO_DIR }}/continuous_integration/scripts/build ${{ inputs.build-type}} ${{ inputs.target-device }}"
8785

8886
- if: ${{ !inputs.use-container }}
8987
name: Build (without container)
9088
shell: bash --noprofile --norc -xeuo pipefail {0}
9189
run: |
92-
"${{ env.LEGATE_GH_CI_DIR }}/scripts/entrypoint" "${{ env.REPO_DIR }}/continuous_integration/scripts/build" "${{ inputs.build-type}}" "${{ inputs.target-device }}"
90+
"${{ env.REPO_DIR }}/scripts/entrypoint" "${{ env.REPO_DIR }}/continuous_integration/scripts/build" "${{ inputs.build-type}}" "${{ inputs.target-device }}"
9391

9492
- name: Display structure of the artifacts folder (post build)
9593
shell: bash --noprofile --norc -xeuo pipefail {0}

.github/actions/test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ runs:
3434
- name: Run test / analysis
3535
shell: bash --noprofile --norc -xeuo pipefail {0}
3636
run: |
37-
"${{ env.LEGATE_GH_CI_DIR }}/scripts/entrypoint" "${{ env.REPO_DIR }}/continuous_integration/scripts/test" ${{ inputs.test-options }}
37+
"${{ env.REPO_DIR }}/scripts/entrypoint" "${{ env.REPO_DIR }}/continuous_integration/scripts/test" ${{ inputs.test-options }}

continuous_integration/scripts/entrypoint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set_initial_env() {
44
set -xeuo pipefail
55

6-
export PATH="${PATH}:${REPO_DIR}/continuous_integration/scripts:${LEGATE_GH_CI_DIR}/scripts"
6+
export PATH="${PATH}:${REPO_DIR}/continuous_integration/scripts"
77
}
88

99
entrypoint() {

0 commit comments

Comments
 (0)