From 2aee21e1e73be942601518d1c5a2b8db4c516b27 Mon Sep 17 00:00:00 2001 From: Geoff Genz Date: Fri, 22 Nov 2024 17:41:17 -0700 Subject: [PATCH] Gg/fix source dist name (#430) * build testing * fix typo * testing stuff * testing stuff * source only testing * More complete testing * Revert version tweak * Remove redundant pip install --- .github/workflows/publish.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a8426ec..87a41a6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -142,6 +142,14 @@ jobs: if: ${{ inputs.publish_type != 'build' }} steps: - uses: actions/checkout@v4 + - name: Set up Python (3.12) + uses: actions/setup-python@v5 + with: + python-version: 3.12 + - name: Install Dependencies + run: | + pip install twine + pip install -U setuptools - name: Build source distribution run: | rm -rf dist @@ -156,8 +164,6 @@ jobs: run: | cp -R wheelhouse/*.whl dist ls -R dist - - name: Install Twine - run: pip install twine - name: Publish (Release) if: ${{ inputs.publish_type == 'release' }} env: