From 1b709a471e0ec0b9226278230602c38fc6fab68f Mon Sep 17 00:00:00 2001 From: Roberto Pastor Muela Date: Mon, 14 Nov 2022 15:54:21 +0100 Subject: [PATCH] Upload source distribution when releasing --- .github/workflows/testing-and-deployment.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/testing-and-deployment.yml b/.github/workflows/testing-and-deployment.yml index afb2bfc0..595b02e8 100644 --- a/.github/workflows/testing-and-deployment.yml +++ b/.github/workflows/testing-and-deployment.yml @@ -274,6 +274,7 @@ jobs: run: | pip install twine twine upload --skip-existing ./**/*.whl + twine upload --skip-existing ./**/*.tar.gz env: TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} @@ -282,6 +283,7 @@ jobs: uses: softprops/action-gh-release@v1 with: files: | + ./**/*.tar.gz ./**/*.whl ./**/*.zip ./**/*.pdf