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__