Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,16 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: '3.12'
- name: Build a source tarball
run: |
python -m pip install --upgrade pip
python3 -m pip install numpy
python3 -m pip install setuptools
python3 -m pip install setuptools-scm
python3 setup.py sdist
python -m pip install --upgrade build
python -m build --sdist
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/
path: dist/*.tar.gz

build_wheels:
name: Build wheels on ${{matrix.os}} 🎡
Expand Down Expand Up @@ -68,7 +65,7 @@ jobs:

- uses: actions/download-artifact@v4
with:
pattern: sdist/*.tar.gz
name: sdist
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,16 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: '3.12'
- name: Build a source tarball
run: |
python -m pip install --upgrade pip
python3 -m pip install numpy
python3 -m pip install setuptools
python3 -m pip install setuptools-scm
python3 setup.py sdist
python -m pip install --upgrade build
python -m build --sdist
- name: Store the distribution packages
uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/
path: dist/*.tar.gz

build_wheels:
name: Build wheels on ${{matrix.os}} 🎡
Expand Down Expand Up @@ -64,7 +61,7 @@ jobs:

- uses: actions/download-artifact@v4
with:
pattern: sdist/*.tar.gz
name: sdist
path: dist

- uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
Loading