From 13578df5e7f316494554939bd82f733ddc96d779 Mon Sep 17 00:00:00 2001 From: Vicente Date: Sun, 13 Jul 2025 15:38:50 -0600 Subject: [PATCH] Fix bug related to publish.yml attempt 2 --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4a61bd9..a1e2a45 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,10 +28,10 @@ jobs: env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - run: | - twine upload \ - --repository-url https://upload.pypi.github.io/UCD-BDLab/BioNeuralNet \ + python -m pip install --upgrade pip twine + python -m twine upload \ + --repository-url https://api.github.com/orgs/${{ github.repository_owner }}/packages/pypi/upload \ dist/* - name: Publish to PyPI