Skip to content

Commit

Permalink
Fixing release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Jun 17, 2022
1 parent 4ea9b87 commit 9a23ff8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-django-stubs-ext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-django-stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9a23ff8

Please sign in to comment.