Skip to content

Commit

Permalink
ci: Don't build and distrubted the linux wheel package.
Browse files Browse the repository at this point in the history
Make sure the dist artifacts are visible to the release action though.
  • Loading branch information
jaqx0r committed Sep 10, 2023
1 parent 1ac1f30 commit 1be0bd4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- run: sudo apt-get install -y libmad0-dev
- run: python -m pip install --upgrade pip
- run: python -m pip install build
- run: python -m build --sdist --wheel --outdir dist/
- run: python -m build --sdist --outdir dist/
- uses: actions/upload-artifact@v1
with:
name: dist
Expand All @@ -32,14 +32,17 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- uses: softprops/action-gh-release@v1
# Only on a tag
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
with:
generate_release_notes: true
files: |
dist/*.tar.gz
dist/*.whl
dist/*
publish:
needs: [build, release]
Expand Down

0 comments on commit 1be0bd4

Please sign in to comment.