Fixing release pipeline

This commit is contained in:
sobolevn
2022-06-17 17:54:02 +03:00
parent 4ea9b874f5
commit 9a23ff864b
2 changed files with 4 additions and 3 deletions

View File

@@ -30,13 +30,14 @@ jobs:
cd ./django_stubs_ext
python setup.py --version
python setup.py sdist bdist_wheel
ls dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.DJANGO_STUBS_PYPI_API_TOKEN }}
packages_dir: './django-stubs-ext/dist'
password: ${{ secrets.DJANGO_STUBS_EXT_PYPI_API_TOKEN }}
packages_dir: django-stubs-ext/dist
print_hash: true
- name: Create release

View File

@@ -29,13 +29,13 @@ jobs:
run: |
python setup.py --version
python setup.py sdist bdist_wheel
ls dist
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.DJANGO_STUBS_PYPI_API_TOKEN }}
packages_dir: './dist'
print_hash: true
- name: Create release