Build/publish both sdist and wheel
This commit is contained in:
parent
eeaef4806a
commit
f9349de48e
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue