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