From bfec2aa27a126c710438d038dfe9a65f0ccb7143 Mon Sep 17 00:00:00 2001 From: Linlang Date: Thu, 19 Dec 2024 22:31:43 +0800 Subject: [PATCH] rewrite deploy with macos --- .github/workflows/python-publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 828efd6ab..88cbd5c0d 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -150,9 +150,11 @@ jobs: print(f'Renamed: {whl_file} -> {new_whl_file}') " - name: Build 2 + if: ${{ (matrix.buildplat[0] != 'macos-13' || matrix['python-version'] != '3.11') && (matrix.buildplat[0] != 'macos-13' || matrix['python-version'] != '3.12') }} run: | make build - name: Rename 2 + if: ${{ (matrix.buildplat[0] != 'macos-13' || matrix['python-version'] != '3.11') && (matrix.buildplat[0] != 'macos-13' || matrix['python-version'] != '3.12') }} run: | python -c " from pathlib import Path