testing action test pypi

This commit is contained in:
Alejandro Moreo Fernandez 2025-10-06 15:10:49 +02:00
parent 35a03d085b
commit c373b394af
1 changed files with 3 additions and 2 deletions

View File

@ -84,11 +84,12 @@ jobs:
python -m pip install --upgrade pip build twine
- name: Build package
run: python -m build
- name: Publish to PyPI
- name: Publish to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1