From aa69e87cc906e1310bdc7dbb350405018904bc61 Mon Sep 17 00:00:00 2001 From: Alif Be <11570927+alifbe@users.noreply.github.com> Date: Wed, 17 Jan 2024 14:46:37 +0100 Subject: [PATCH] Fix workflow for publish to pypi (#426) --- .github/workflows/pyscal.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pyscal.yml b/.github/workflows/pyscal.yml index 9aded5c9..4918c672 100644 --- a/.github/workflows/pyscal.yml +++ b/.github/workflows/pyscal.yml @@ -106,8 +106,8 @@ jobs: TWINE_PASSWORD: ${{ secrets.pyscal_pypi_token }} run: | export SETUPTOOLS_SCM_PRETEND_VERSION=${GITHUB_REF//refs\/tags\//} - python -m pip install --upgrade setuptools wheel twine - python setup.py sdist bdist_wheel + pip install -U build twine # and maybe setuptools? not sure + python -m build twine upload dist/* - name: Update GitHub pages