From 3b1ef731c3bb4b34e84074cb822d76f7bc379e21 Mon Sep 17 00:00:00 2001 From: Adam Reeve Date: Wed, 22 Jan 2025 14:30:41 +1300 Subject: [PATCH] Install setuptools in publish job --- .github/workflows/ci-cd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 81970d1..afd0954 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -71,7 +71,9 @@ jobs: with: python-version: '3.12' - name: Create package - run: python setup.py sdist + run: | + python -m pip install setuptools + python setup.py sdist - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 with: