Build/publish both sdist and wheel

This commit is contained in:
Amethyst Reese 2024-09-01 20:36:46 -07:00
parent eeaef4806a
commit f9349de48e
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ jobs:
- name: Lint
run: make lint
sdist:
build:
needs: test
runs-on: ubuntu-latest
steps:
@ -54,7 +54,7 @@ jobs:
- name: Install
run: make install
- name: Build
run: python -m build --sdist
run: python -m build
- name: Upload
uses: actions/upload-artifact@v3
with:
@ -62,7 +62,7 @@ jobs:
path: dist
publish:
needs: sdist
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
permissions: