Skip to content

Commit 1dfd18b

Browse files
committed
ci : use env variable instead of step id
1 parent 8b39d3e commit 1dfd18b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,6 @@ jobs:
604604
echo "CUDA_CACHE_MAXSIZE=4294967296" | Out-File -FilePath $env:GITHUB_ENV -Append
605605
606606
- name: Install Cuda Toolkit 11.8.0
607-
id: cuda-toolkit
608607
if: ${{ matrix.cuda-toolkit == '11.8.0' }}
609608
run: |
610609
mkdir -p "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8.0"
@@ -633,7 +632,6 @@ jobs:
633632
echo "CUDA_PATH_V11_8=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8.0" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
634633
635634
- name: Install Cuda Toolkit 12.2
636-
id: cuda-toolkit
637635
if: ${{ matrix.cuda-toolkit == '12.2.0' }}
638636
run: |
639637
mkdir -p "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2.0"
@@ -715,7 +713,7 @@ jobs:
715713
716714
- name: Copy CUDA DLLs
717715
run: |
718-
Get-ChildItem "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/" -Filter "*.dll" |
716+
Get-ChildItem "$env:CUDA_PATH\bin\" -Filter "*.dll" |
719717
Copy-Item -Destination "build/bin/${{ matrix.build }}"
720718
721719
- name: Copy SDL2.dll

0 commit comments

Comments
 (0)