From 66fe644fa71575a5b36fdc789e221d09b2d66033 Mon Sep 17 00:00:00 2001 From: Stefan Harmuth Date: Sat, 11 Nov 2023 16:19:16 +0100 Subject: [PATCH] call twine directly (hopefully get useful output) --- .gitea/workflows/publish.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 4392864..6fa996d 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -20,16 +20,20 @@ jobs: python-version: "3.x" - name: Setup Build Environment - run: python -m pip install --upgrade pip build + run: python -m pip install --upgrade pip build twine - name: Build Package run: python -m build + - name: Setup PyPI Credentials + run: echo "${{ secrets.PYPICFG }}" > $HOME/.pypirc + - name: Publish Package - uses: pypa/gh-action-pypi-publish@release/v1 - with: - verbose: true - password: ${{ secrets.PYPI_API_TOKEN }} + run: python -m twine upload dist/* + # uses: pypa/gh-action-pypi-publish@release/v1 + # with: + # verbose: true + # password: ${{ secrets.PYPI_API_TOKEN }} #name: Gitea Actions Demo