Skip to content

Commit

Permalink
fix: make PyPI publishing workflow install necessary dependencies to …
Browse files Browse the repository at this point in the history
…avoid error;
  • Loading branch information
WenjieDu committed Nov 6, 2023
1 parent 37fc289 commit 6f1c998
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish_to_PyPI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install build wheel
pip install -r requirements.txt
- name: Fetch the test environment details
run: |
Expand All @@ -47,7 +48,7 @@ jobs:
- name: Build package
run: |
python -m build
python -m build --no-isolation
- name: Publish the new package to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.6
Expand Down

0 comments on commit 6f1c998

Please sign in to comment.