Skip to content

Commit

Permalink
Fix CD workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
c-w committed Dec 14, 2020
1 parent dd7b14e commit b3a48d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.8
- run: echo "$GITHUB_REF" > version.txt
- run: echo "${GITHUB_REF##*/}" > version.txt
- run: pip install twine
- run: python setup.py sdist
- run: twine upload --skip-existing /dist/*
- run: twine upload --skip-existing ./dist/*
env:
TWINE_USERNAME: ascoderu
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

0 comments on commit b3a48d8

Please sign in to comment.