diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 948ec89..ef71189 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -106,16 +106,16 @@ jobs: pattern: curl_cffi-* path: download - # - uses: pypa/gh-action-pypi-publish@v1.8.14 - # if: startsWith(github.ref, 'refs/tags/') - # with: - # password: ${{ secrets.PYPI_TOKEN }} - # packages-dir: download/ - - # - name: Upload release files - # if: startsWith(github.ref, 'refs/tags/') - # uses: softprops/action-gh-release@v2 - # with: - # files: | - # ./download/*.whl - # ./download/*.tar.gz + - uses: pypa/gh-action-pypi-publish@v1.8.14 + if: startsWith(github.ref, 'refs/tags/') + with: + password: ${{ secrets.PYPI_TOKEN }} + packages-dir: download/ + + - name: Upload release files + if: startsWith(github.ref, 'refs/tags/') + uses: softprops/action-gh-release@v2 + with: + files: | + ./download/*.whl + ./download/*.tar.gz