Skip to content

Commit

Permalink
fix: upload
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwolf-x committed Nov 23, 2024
1 parent 07a79a8 commit 80525b3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/lightgbm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
platform_version: 2022
boost_version: 1.86.0
use-github-cache: "false"
# link: static
# - name: cuda-toolkit
# uses: Jimver/cuda-toolkit@master
Expand Down Expand Up @@ -53,9 +54,17 @@ jobs:
# --config-settings=cmake.define.Boost_ROOT=$BOOST_ROOT
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
- name: Find LightGBM WHL files
id: find_files
run: |
$files = Get-ChildItem -Recurse -Filter *.whl | Select-String -Pattern "lightgbm" | ForEach-Object { $_.Path }
# $filesList = $files -join ";"
# Write-Host "::set-output name=files::$filesList"
shell: pwsh
- name: Upload all wheel files
uses: actions/upload-artifact@v4
with:
name: lightgbm-wheels
path: '**/*lightgbm*.whl'
# path: '**/*lightgbm*.whl'
path: ${{ steps.find_files.outputs.files }}
if-no-files-found: error

0 comments on commit 80525b3

Please sign in to comment.