Skip to content

Commit

Permalink
Merge pull request #23 from jaqx0r/wheel
Browse files Browse the repository at this point in the history
Don't build wheel for release.
  • Loading branch information
jaqx0r committed Sep 10, 2023
2 parents 243d781 + 1be0bd4 commit 8ad2928
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 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
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include config_unix.py AUTHORS COPYING README.md ChangeLog NEWS THANKS
include AUTHORS COPYING README.md ChangeLog NEWS THANKS
recursive-include src *.h
include test/*.py

0 comments on commit 8ad2928

Please sign in to comment.