Skip to content

Commit 3e3b66d

Browse files
committed
use env instead of id
1 parent 7c586a7 commit 3e3b66d

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
@@ -47,7 +47,6 @@ jobs:
4747
echo "CUDA_CACHE_MAXSIZE=4294967296" | Out-File -FilePath $env:GITHUB_ENV -Append
4848
4949
- name: Install Cuda Toolkit 11.8.0
50-
id: cuda-toolkit
5150
if: ${{ matrix.cuda-toolkit == '11.8.0' }}
5251
run: |
5352
mkdir -p "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8.0"
@@ -76,7 +75,6 @@ jobs:
7675
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
7776
7877
- name: Install Cuda Toolkit 12.2
79-
id: cuda-toolkit
8078
if: ${{ matrix.cuda-toolkit == '12.2.0' }}
8179
run: |
8280
mkdir -p "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.2.0"
@@ -158,7 +156,7 @@ jobs:
158156
159157
- name: Copy CUDA DLLs
160158
run: |
161-
Get-ChildItem "${{ steps.cuda-toolkit.outputs.CUDA_PATH }}/bin/" -Filter "*.dll" |
159+
Get-ChildItem "$env:CUDA_PATH\bin\" -Filter "*.dll" |
162160
Copy-Item -Destination "build/bin/${{ matrix.build }}"
163161
164162
- name: Copy SDL2.dll

0 commit comments

Comments
 (0)