Skip to content

Commit

Permalink
Merge pull request #627 from pangeo-forge/pypa-build
Browse files Browse the repository at this point in the history
Use pypa-build in release.yaml
  • Loading branch information
cisaacstern authored Sep 20, 2023
2 parents 6b7d1bf + 2944a47 commit 372d857
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools setuptools-scm wheel twine toml
python -m pip install --upgrade setuptools setuptools-scm build
- name: Build and publish
env:
TWINE_USERNAME: "__token__"
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
python setup.py --version
python -m build
twine check dist/*
twine upload dist/*

0 comments on commit 372d857

Please sign in to comment.