Skip to content

Commit

Permalink
modify release.yml - 11
Browse files Browse the repository at this point in the history
  • Loading branch information
MingjieJian committed Jan 19, 2024
1 parent 80241fc commit 39ba464
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,30 @@ name: pypi-publish
on: push

jobs:
# build:
# name: Build distribution
# runs-on: ubuntu-latest
# steps:
# # retrieve your distributions here
# - uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v4
# with:
# python-version: "3.x"
# - name: Install required packages
# run: pip install setuptools zenodo_get
# - name: Build a source tarball
# run: python3 setup.py sdist
# - name: Upload all the dists
# uses: actions/upload-artifact@v4
# with:
# name: python-package-distributions
# path: dist/

publish-to-pypi:
name: Publish to PyPI
needs:
- build
# needs:
# - build
runs-on: ubuntu-latest
environment:
name: pypi
Expand Down

0 comments on commit 39ba464

Please sign in to comment.