Skip to content

Commit

Permalink
Fix workflow for publish to pypi (#426)
Browse files Browse the repository at this point in the history
  • Loading branch information
alifbe authored Jan 17, 2024
1 parent ee05460 commit aa69e87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pyscal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
TWINE_PASSWORD: ${{ secrets.pyscal_pypi_token }}
run: |
export SETUPTOOLS_SCM_PRETEND_VERSION=${GITHUB_REF//refs\/tags\//}
python -m pip install --upgrade setuptools wheel twine
python setup.py sdist bdist_wheel
pip install -U build twine # and maybe setuptools? not sure
python -m build
twine upload dist/*
- name: Update GitHub pages
Expand Down

0 comments on commit aa69e87

Please sign in to comment.