Skip to content

Commit d25c3d5

Browse files
authored
Add environment variables to CUDA workflow
1 parent 9f34b3c commit d25c3d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ jobs:
100100
run: |
101101
# Note: xorg-libxau was addded to fix a problem with ffmpeg 4. We should consider removing it.
102102
conda install libnpp cuda-nvrtc=${{ matrix.cuda-version }} cuda-toolkit=${{ matrix.cuda-version }} cuda-cudart=${{ matrix.cuda-version }} cuda-driver-dev=${{ matrix.cuda-version }} ffmpeg=${{ matrix.ffmpeg-version-for-tests }} xorg-libxau
103+
echo "CONDA_PREFIX=${CONDA_PREFIX}" >> "${GITHUB_ENV}"
104+
echo "CONDA_RUN=$(which conda) run -p ${CONDA_PREFIX} --no-capture-output" >> "${GITHUB_ENV}"
103105
- name: Check env
104106
run: |
105107
${CONDA_RUN} env

0 commit comments

Comments
 (0)