From fdcb8e9f15a9c4464fc888eafbf274d2e3131b24 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Mon, 12 Jun 2023 15:05:12 -0600 Subject: [PATCH] ci: update release pipeline --- .github/workflows/release.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2923fd2c..995bd4e7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,21 +11,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - - name: Set up Python 3.x + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: "3.x" - + python-version: "3.11" - name: Install release dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine - + pip install build twine - name: Build and publish package env: TWINE_USERNAME: ${{ secrets.PYPI_STACUTILS_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_STACUTILS_PASSWORD }} run: | - python setup.py sdist bdist_wheel + python -m build twine upload dist/*