File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -269,12 +269,12 @@ jobs:
269
269
SUPPORT : ${{ matrix.pccl_build_cuda_support }}
270
270
run : |
271
271
$file = Get-ChildItem -Path "${{ github.workspace }}\python\framework\dist" -Filter "*pccl*.whl" | Select-Object -First 1
272
- echo "wheel_path=$($file.FullName)" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8
272
+ Add-Content -Path $env:GITHUB_OUTPUT -Value "wheel_path=$($file.FullName)"
273
273
$base = $file.Name
274
274
$name = [System.IO.Path]::GetFileNameWithoutExtension($base)
275
275
if ($env:SUPPORT -eq 'ON') { $suffix = 'cuda' } else { $suffix = 'nocuda' }
276
276
$newName = "$name-$suffix.whl"
277
- echo "wheel_name=$newName" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8
277
+ Add-Content -Path $env:GITHUB_OUTPUT -Value "wheel_name=$newName"
278
278
279
279
- name : Upload Release Asset (Unix)
280
280
if : runner.os != 'Windows'
You can’t perform that action at this time.
0 commit comments