Skip to content

Commit 9d9c1cb

Browse files
authored
Revert and fix
1 parent 224f310 commit 9d9c1cb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/build-and-test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -230,14 +230,6 @@ jobs:
230230
- name: Ensure GPU is working
231231
run: nvidia-smi
232232

233-
- name: Install dependencies
234-
uses: ./.github/actions/install_unix_deps
235-
continue-on-error: false
236-
with:
237-
# gcc for Cython tests, git/jq/wget for artifact fetching
238-
dependencies: "build-essential jq wget git-all"
239-
dependent_exes: "gcc jq wget git"
240-
241233
- name: Checkout ${{ github.event.repository.name }}
242234
uses: actions/checkout@v4
243235
with:
@@ -273,6 +265,14 @@ jobs:
273265
echo "CUDA_BINDINGS_ARTIFACTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/dist")" >> $GITHUB_ENV
274266
echo "SKIP_CUDA_BINDINGS_TEST=${SKIP_CUDA_BINDINGS_TEST}" >> $GITHUB_ENV
275267
268+
- name: Install dependencies
269+
uses: ./.github/actions/install_unix_deps
270+
continue-on-error: false
271+
with:
272+
# gcc for Cython tests, jq/wget for artifact fetching
273+
dependencies: "build-essential jq wget"
274+
dependent_exes: "gcc jq wget"
275+
276276
- name: Download cuda.bindings build artifacts
277277
if: ${{ env.SKIP_CUDA_BINDINGS_TEST == '0'}}
278278
uses: actions/download-artifact@v4
@@ -297,8 +297,8 @@ jobs:
297297
298298
OLD_BRANCH=$(cat .github/BACKPORT_BRANCH)
299299
OLD_BASENAME="cuda-bindings-python${PYTHON_VERSION_FORMATTED}-cuda*-${{ matrix.host-platform }}*"
300-
LATEST_OLD_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "CI: Build and test" -s completed --json databaseId | jq '.[]| .databaseId')
301-
gh run download $LATEST_PRIOR_RUN_ID -p ${OLD_BASENAME}
300+
LATEST_OLD_RUN_ID=$(gh run list -b ${OLD_BRANCH} -L 1 -w "CI: Build and test" -s completed -R NVIDIA/cuda-python --json databaseId | jq '.[]| .databaseId')
301+
gh run download $LATEST_PRIOR_RUN_ID -p ${OLD_BASENAME} -R NVIDIA/cuda-python
302302
CACHE_DIR="${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}"
303303
ls -al $OLD_BASENAME
304304
mv $OLD_BASENAME/*.whl $CACHE_DIR

0 commit comments

Comments
 (0)