From 0cafe3e12ef91a772549deea7be8b7f85d21886d Mon Sep 17 00:00:00 2001 From: Linlang Date: Wed, 18 Dec 2024 17:21:59 +0800 Subject: [PATCH] fix upload to testpypi error --- .github/workflows/python-publish.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 9a051f70e..2bec337c0 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -15,10 +15,14 @@ jobs: strategy: matrix: os: [windows-latest, macos-13, macos-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - exclude: + python-version: [] + include: + - os: windows-latest + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] + - os: macos-latest + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] - os: macos-13 - python-version: ["3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10"] steps: - uses: actions/checkout@v3 @@ -66,4 +70,4 @@ jobs: run: | ls dist twine check dist/*.whl - twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-linux*.whl + twine upload --repository-url https://test.pypi.org/legacy/ dist/pyqlib-*-manylinux*.whl