diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4cf7879..acb34dd 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -138,11 +138,11 @@ jobs: - name: Install flit run: | python -m pip install --upgrade pip - python -m pip install flit~=3.9 + python -m pip install "flit>=4,<5" "flit_core>=4,<5" - name: Build and publish run: | - flit publish + flit publish --use-vcs env: FLIT_USERNAME: __token__ FLIT_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}