From 92e1f07a01ed285eb250a36abf3db37ac7fcad42 Mon Sep 17 00:00:00 2001 From: Linlang Date: Thu, 19 Dec 2024 17:37:46 +0800 Subject: [PATCH] rewrite deploy with macos --- .github/workflows/python-publish.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index d1ac95528..de9a493f8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -129,8 +129,11 @@ jobs: - name: Run python scripts run: | python -c " - a = '${{ matrix.buildplat[1] }}' - print(f'Value of a: {a}') + plat_info = '${{ matrix.buildplat[1] }}'.split('_')[-1] + sys_ver_info = '${{ matrix.buildplat[1] }}'.split('-')[-1] + + print(f'Value of plat_info: {plat_info}') + print(f'Value of sys_ver_info: {sys_ver_info}') " # - name: Build and publish # env: