From 7ee7f53b00a4d21c097cb719ab8ecff0adf81113 Mon Sep 17 00:00:00 2001 From: Davidham3 Date: Fri, 20 Dec 2024 15:54:59 +0800 Subject: [PATCH] fix: solve conflict in packaging --- .github/workflows/python-publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 7060eef..aa8514e 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -40,7 +40,11 @@ jobs: - name: Build package run: | - python -m build + if [ "${{ matrix.python-version }}" = "3.12" ]; then + python -m build + else + python -m build --wheel + fi - name: Upload artifacts uses: actions/upload-artifact@v4