Skip to content

Commit

Permalink
Update CI to use build
Browse files Browse the repository at this point in the history
  • Loading branch information
Viicos committed Feb 23, 2024
1 parent b889878 commit 75fc729
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
python: ['3.10', '3.11']
django: ['3.2', '4.1', '4.2']
django: ['3.2', '4.2']
exclude:
- python: '3.11'
django: '3.2'
Expand Down Expand Up @@ -76,10 +76,13 @@ jobs:
with:
python-version: '3.10'

- name: Build sdist and wheel
- name: Build wheel
run: |
pip install pip setuptools wheel --upgrade
python setup.py sdist bdist_wheel
pip install build --upgrade
python -m build
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}

0 comments on commit 75fc729

Please sign in to comment.