diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/python.yml | 37 |
1 files changed, 23 insertions, 14 deletions
diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index eb6bf0fde28..2e2cd069f78 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -37,18 +37,27 @@ jobs: - name: Run notebook tests run: | nbdev_test_nbs - - name: Build package - run: | - pip install --upgrade setuptools wheel +# - name: Build package +# run: | +# pip install --upgrade setuptools wheel +# python setup.py sdist bdist_wheel +# echo $(ls -alh) +# echo $(ls -alh dist ) +# - name: Degug +# run: | +# echo $(ls -alh) +# echo $(ls -alh dist ) + - name: Build and publish + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.test_pypi_password }} + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine python setup.py sdist bdist_wheel - echo $(ls -alh) - echo $(ls -alh dist ) - - name: Degug - run: | - echo $(ls -alh) - echo $(ls -alh dist ) - - name: Publish distribution to Test PyPI - uses: pypa/gh-action-pypi-publish@master - with: - password: ${{ secrets.test_pypi_password }} - repository_url: https://test.pypi.org/legacy/ + twine upload --repository testpypi dist/* +# - name: Publish distribution to Test PyPI +# uses: pypa/gh-action-pypi-publish@master +# with: +# password: ${{ secrets.test_pypi_password }} +# repository_url: https://test.pypi.org/legacy/ |