From 1aa61a6735528410b3dca3f09f54c5ad672bfd2c Mon Sep 17 00:00:00 2001 From: Linlang Date: Wed, 18 Dec 2024 21:09:59 +0800 Subject: [PATCH] fix upload to testpypi error --- .github/workflows/python-publish.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4198a6d875..307c008c29 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -85,19 +85,22 @@ jobs: - name: Checkout repo uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} + # - name: Set up Python ${{ matrix.python-version }} + # uses: actions/setup-python@v5 + # with: + # python-version: ${{ matrix.python-version }} - - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - python -m pip install cibuildwheel - + # - name: Install cibuildwheel + # run: | + # python -m pip install --upgrade pip + # python -m pip install cibuildwheel + + # - name: Build wheel + # run: | + # python -m cibuildwheel --output-dir dist + - name: Build wheel - run: | - python -m cibuildwheel --output-dir dist + uses: pypa/cibuildwheel@v0.22.0 - name: Upload wheel env: