Skip to content

Commit

Permalink
Merge pull request #107 from milesgranger/milesgranger/add-src-dist
Browse files Browse the repository at this point in the history
Include sdist in release artifacts
  • Loading branch information
milesgranger authored Nov 16, 2023
2 parents d569f71 + f5525d1 commit 0c70593
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@ jobs:
python-version: '3.10'
- name: Build wheels
run: pip wheel . -w dist
- name: Build Source Dist
run: python setup.py sdist
- uses: actions/upload-artifact@v3
with:
name: artifacts
name: wheel
path: ./dist/dask_glm*
- uses: actions/upload-artifact@v3
with:
name: sdist
path: ./dist/dask-glm*

list_artifacts:
name: List build artifacts
Expand All @@ -38,7 +44,11 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
name: artifacts
name: sdist
path: dist
- uses: actions/download-artifact@v3
with:
name: wheel
path: dist
- name: test
run: |
Expand All @@ -57,7 +67,11 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
name: artifacts
name: sdist
path: dist
- uses: actions/download-artifact@v3
with:
name: wheel
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 0c70593

Please sign in to comment.