Skip to content

Commit

Permalink
Fix bug in publishing action. (#112)
Browse files Browse the repository at this point in the history
* Fix bug in publishing action.

* Update pythonpublish.yaml
  • Loading branch information
jbusecke authored Jun 23, 2021
1 parent 3f5b2f9 commit 53c2496
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pythonpublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ jobs:
path: dist
- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@v1.4.2
repository_url: https://test.pypi.org/legacy/
with:
user: __token__
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.TESTPYPI_TOKEN }}
verbose: true
upload-to-pypi:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
# So I am installing the dependencies manually from pypi and the newest version from testpypi...not sure if this
# defeats the purpose, but I am frankly fed up with this shit!
python -m pip install xarray dask numpy scipy
python -m pip install --index-url https://test.pypi.org/simple --upgrade xarrayutils
python -m pip install --index-url https://test.pypi.org/simple --upgrade xarrayutils --pre
python -c "import xarrayutils;print(xarrayutils.__version__)"
check-version-pypi:
needs: upload-to-pypi
Expand All @@ -119,6 +119,6 @@ jobs:
python -m pip install --upgrade pip
pip cache purge
python -m pip install xarray dask numpy scipy #I thought this should happen automatically? I must still be packaging something wrong...
python -m pip install --upgrade xarrayutils
python -m pip install --upgrade xarrayutils --pre
python -c "import xarrayutils;print(xarrayutils.__version__)"

0 comments on commit 53c2496

Please sign in to comment.