From d84abe47d0ba952ae5d40b68e2167edce791bd52 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Thu, 8 Aug 2024 17:26:14 +0700 Subject: [PATCH] tgcrypto: Build source distribution Signed-off-by: wulan17 --- .github/workflows/wheels.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 7ceac73..4eaa689 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -31,3 +31,20 @@ jobs: uses: actions/upload-artifact@v2 with: path: ./wheelhouse/*.whl + + build_source: + name: Build source distribution + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-python@v5 + + - name: Build source distribution + run: python setup.py sdist + + - name: Store source distribution + uses: actions/upload-artifact@v2 + with: + path: ./dist/*.tar.gz