From 195c35425c4b4700f62e8c35cdc13fdd3baa79de Mon Sep 17 00:00:00 2001 From: Carl Isom Date: Tue, 24 Sep 2024 16:11:54 -0500 Subject: [PATCH] Fix pypi release --- .github/workflows/release_pypi.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release_pypi.yml b/.github/workflows/release_pypi.yml index a050487..bb31ab2 100644 --- a/.github/workflows/release_pypi.yml +++ b/.github/workflows/release_pypi.yml @@ -7,11 +7,20 @@ on: jobs: test: uses: ./.github/workflows/run_tests.yml - setup: - uses: ./.github/workflows/build_python.yml release: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: '3.x' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install setuptools_scm[toml]>=3.4 setuptools>=42 wheel twine>=3.3.0 + - name: Build + run: | + python setup.py sdist bdist_wheel - name: Build and publish env: TWINE_USERNAME: __token__