diff --git a/.github/workflows/neptune-client.yml b/.github/workflows/neptune-client.yml index 47b9c1661..eec6a943a 100644 --- a/.github/workflows/neptune-client.yml +++ b/.github/workflows/neptune-client.yml @@ -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