summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authortmartins <thigm85@gmail.com>2020-06-15 14:23:18 +0200
committertmartins <thigm85@gmail.com>2020-06-15 14:23:18 +0200
commit28013e545ac0d11aec49640300d012d00e59dad8 (patch)
tree99c6bfdfff2cc70a480476554f7c028d640c3517 /.github
parent5a6ddaefc8b3f11794eda0769fe8127d77c558ca (diff)
new method
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/python.yml37
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/