i wish i coudl test this locally
This commit is contained in:
Родитель
d6abeefb17
Коммит
9e73a9dccc
|
@ -21,26 +21,26 @@ jobs:
|
||||||
python-version: "3.x" # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
python-version: "3.x" # Version range or exact version of a Python version to use, using SemVer's version range syntax
|
||||||
architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified
|
architecture: "x64" # optional x64 or x86. Defaults to x64 if not specified
|
||||||
- name: Install pypa/build
|
- name: Install pypa/build
|
||||||
run: >-
|
run: >-
|
||||||
python -m
|
python -m
|
||||||
pip install
|
pip install
|
||||||
build
|
build
|
||||||
--user
|
--user
|
||||||
- name: Build a binary wheel and a source tarball
|
- name: Build a binary wheel and a source tarball
|
||||||
run: >-
|
run: >-
|
||||||
python -m
|
python -m
|
||||||
build
|
build
|
||||||
--sdist
|
--sdist
|
||||||
--wheel
|
--wheel
|
||||||
--outdir dist/
|
--outdir dist/
|
||||||
.
|
.
|
||||||
- name: Publish distribution 📦 to Test PyPI
|
- name: Publish distribution 📦 to Test PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
with:
|
with:
|
||||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||||
repository_url: https://test.pypi.org/legacy/
|
repository_url: https://test.pypi.org/legacy/
|
||||||
- name: Publish distribution 📦 to PyPI
|
- name: Publish distribution 📦 to PyPI
|
||||||
if: startsWith(github.ref, 'refs/tags')
|
if: startsWith(github.ref, 'refs/tags')
|
||||||
uses: pypa/gh-action-pypi-publish@master
|
uses: pypa/gh-action-pypi-publish@master
|
||||||
with:
|
with:
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче