From 0785f1f1a6c610874cfd4fc50f198c0204c60b2e Mon Sep 17 00:00:00 2001 From: Alex Lubbock Date: Thu, 8 Aug 2024 19:49:23 +0100 Subject: [PATCH] ci: re-add build stage to pypi release (#25) --- .github/workflows/python-publish.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 52693fa..c73bae5 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -19,5 +19,16 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install setuptools wheel twine + - name: Build package + run: | + python setup.py sdist bdist_wheel - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1