simplify build
This commit is contained in:
Родитель
ab0cba62ad
Коммит
76caae797c
|
@ -26,25 +26,6 @@ jobs:
|
|||
run: pip install -r requirements.txt
|
||||
- name: pyright
|
||||
run: npx pyright
|
||||
- name: Install pypa/build
|
||||
run: >-
|
||||
python -m
|
||||
pip install
|
||||
build
|
||||
--user
|
||||
- name: Build a binary wheel and a source tarball
|
||||
run: >-
|
||||
python -m
|
||||
build
|
||||
--sdist
|
||||
--wheel
|
||||
--outdir dist/
|
||||
.
|
||||
- name: Publish distribution 📦 to Test PyPI
|
||||
uses: pypa/gh-action-pypi-publish@master
|
||||
with:
|
||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||
repository_url: https://test.pypi.org/legacy/
|
||||
- name: Publish semantic release 📦 to PyPI
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
uses: relekang/python-semantic-release@master
|
||||
|
|
Загрузка…
Ссылка в новой задаче