Skip to content

Commit

Permalink
ci: update release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
gadomski committed Jun 12, 2023
1 parent 4bc7cd6 commit fdcb8e9
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

0 comments on commit fdcb8e9

Please sign in to comment.