Skip to content

Commit

Permalink
modified pypi push
Browse files Browse the repository at this point in the history
  • Loading branch information
tongzhouxu committed Dec 5, 2024
1 parent 1d76ff9 commit 658c8b2
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,15 @@ jobs:
with:
python-version: "3.8"

- name: Install dependencies for building
run: pip install build

- name: Build release distributions
run: |
# NOTE: put your own distribution build steps here.
python -m pip install build
python -m pip install .
run: python -m build

- name: Debug dist directory
run: ls -la dist/

- name: Upload distributions
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/

pypi-publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 658c8b2

Please sign in to comment.