i wish i coudl test this locally

This commit is contained in:
pelikhan 2021-11-15 09:01:06 -08:00
Родитель d6abeefb17
Коммит 9e73a9dccc
1 изменённых файлов: 20 добавлений и 20 удалений

40
.github/workflows/build.yml поставляемый
Просмотреть файл

@ -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 }}