From 5a8ff65a3b331947468e26827380e40fcc24e8b2 Mon Sep 17 00:00:00 2001 From: Linlang Date: Wed, 18 Dec 2024 14:43:38 +0800 Subject: [PATCH] fix upload to testpypi error --- .github/workflows/python-publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index d498e118c4..3db940cf93 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, macos-13, macos-14, macos-latest] + os: [windows-latest, macos-13, macos-latest] # FIXME: macos-latest will raise error now. # not supporting 3.6 due to annotations is not supported https://stackoverflow.com/a/52890129 python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] @@ -56,6 +56,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | + python -m pip install twine python -m pip list - name: Build and publish env: