mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +08:00
Fixing release pipeline
This commit is contained in:
@@ -30,13 +30,14 @@ jobs:
|
|||||||
cd ./django_stubs_ext
|
cd ./django_stubs_ext
|
||||||
python setup.py --version
|
python setup.py --version
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
|
ls dist
|
||||||
|
|
||||||
- name: Publish package to PyPI
|
- name: Publish package to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.DJANGO_STUBS_PYPI_API_TOKEN }}
|
password: ${{ secrets.DJANGO_STUBS_EXT_PYPI_API_TOKEN }}
|
||||||
packages_dir: './django-stubs-ext/dist'
|
packages_dir: django-stubs-ext/dist
|
||||||
print_hash: true
|
print_hash: true
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
|||||||
2
.github/workflows/release-django-stubs.yml
vendored
2
.github/workflows/release-django-stubs.yml
vendored
@@ -29,13 +29,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python setup.py --version
|
python setup.py --version
|
||||||
python setup.py sdist bdist_wheel
|
python setup.py sdist bdist_wheel
|
||||||
|
ls dist
|
||||||
|
|
||||||
- name: Publish package to PyPI
|
- name: Publish package to PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.DJANGO_STUBS_PYPI_API_TOKEN }}
|
password: ${{ secrets.DJANGO_STUBS_PYPI_API_TOKEN }}
|
||||||
packages_dir: './dist'
|
|
||||||
print_hash: true
|
print_hash: true
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
|
|||||||
Reference in New Issue
Block a user