From 9a23ff864b24cc55061bc9e1661b54c95782cbde Mon Sep 17 00:00:00 2001 From: sobolevn Date: Fri, 17 Jun 2022 17:54:02 +0300 Subject: [PATCH] Fixing release pipeline --- .github/workflows/release-django-stubs-ext.yml | 5 +++-- .github/workflows/release-django-stubs.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-django-stubs-ext.yml b/.github/workflows/release-django-stubs-ext.yml index ee7895f..496a3ff 100644 --- a/.github/workflows/release-django-stubs-ext.yml +++ b/.github/workflows/release-django-stubs-ext.yml @@ -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 diff --git a/.github/workflows/release-django-stubs.yml b/.github/workflows/release-django-stubs.yml index 8604910..36653e9 100644 --- a/.github/workflows/release-django-stubs.yml +++ b/.github/workflows/release-django-stubs.yml @@ -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