Skip to content

Commit

Permalink
Changed CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrislain committed Nov 3, 2021
1 parent fa2ce81 commit 9deb888
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ on:
jobs:
deploy-sdist:
runs-on: ubuntu-latest
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -28,12 +31,10 @@ jobs:
cd python-package
python --version
python setup.py sdist
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: python-package/dist/
- name: Publish source to PyPI
run: |
pip install twine
python -m twine upload python-package/dist/* || true
build-wheels-non-linux:
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion python-package/dp_xgboost/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.7
0.2.8

0 comments on commit 9deb888

Please sign in to comment.