From a18a6d2e68452e039e0c52178a92ba4dbf60c5ea Mon Sep 17 00:00:00 2001 From: Laura Dumont Date: Wed, 6 Nov 2024 19:35:39 +0100 Subject: [PATCH] fix publish --- .github/workflows/ci.yml | 13 +++++++------ .github/workflows/publish.yml | 3 ++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 035b04b..21f7798 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,9 +34,10 @@ jobs: uv run coverage run -m pytest uv run coverage xml - - name: Upload coverage to Codecov - if: github.event_name == 'push' && github.ref == 'refs/heads/master' - uses: codecov/codecov-action@v3 - with: - files: ./coverage.xml - fail_ci_if_error: true + # Deactivate until we have a Codecov account + # - name: Upload coverage to Codecov + # if: github.event_name == 'push' && github.ref == 'refs/heads/master' + # uses: codecov/codecov-action@v3 + # with: + # files: ./coverage.xml + # fail_ci_if_error: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 89bf6e4..525c4d3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -19,7 +19,8 @@ jobs: # Build and publish - name: Build and publish env: - UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + UV_PUBLISH_USERNAME: ${{ secrets.PYPI_USERNAME }} + UV_PUBLISH_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | uv build uv publish \ No newline at end of file