From 1be0bd4410f9aae0f20eda560334469a25a586fb Mon Sep 17 00:00:00 2001 From: Jamie Wilkinson Date: Sun, 10 Sep 2023 16:27:27 +1000 Subject: [PATCH] ci: Don't build and distrubted the linux wheel package. Make sure the dist artifacts are visible to the release action though. --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d4bfc1..75b7cf1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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]