Skip to content

Commit

Permalink
Add github action for LightGBM
Browse files Browse the repository at this point in the history
  • Loading branch information
aniezurawski authored Mar 24, 2021
1 parent 122cf1d commit ba760b1
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/neptune-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,25 @@ jobs:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN_SKLEARN }}
packages_dir: integrations/sklearn/dist
publish_lightgbm:
needs: test
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/lightgbm')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Build and test
run : |
cd integrations/lightgbm
python setup.py sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@54b39fb9371c0b3a6f9f14bb8a67394defc7a806
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN_LIGTHGBM }}
packages_dir: integrations/lightgbm/dist

publish:
needs: test
Expand Down

0 comments on commit ba760b1

Please sign in to comment.