Skip to content

Commit 1be0bd4

Browse files
committed
ci: Don't build and distrubted the linux wheel package.
Make sure the dist artifacts are visible to the release action though.
1 parent 1ac1f30 commit 1be0bd4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- run: sudo apt-get install -y libmad0-dev
1919
- run: python -m pip install --upgrade pip
2020
- run: python -m pip install build
21-
- run: python -m build --sdist --wheel --outdir dist/
21+
- run: python -m build --sdist --outdir dist/
2222
- uses: actions/upload-artifact@v1
2323
with:
2424
name: dist
@@ -32,14 +32,17 @@ jobs:
3232
contents: write
3333
steps:
3434
- uses: actions/checkout@v3
35+
- uses: actions/download-artifact@v3
36+
with:
37+
name: dist
38+
path: dist
3539
- uses: softprops/action-gh-release@v1
3640
# Only on a tag
3741
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
3842
with:
3943
generate_release_notes: true
4044
files: |
41-
dist/*.tar.gz
42-
dist/*.whl
45+
dist/*
4346
4447
publish:
4548
needs: [build, release]

0 commit comments

Comments
 (0)