From 928540daf472462dbf110ad43e0fcb862d78fb5a Mon Sep 17 00:00:00 2001 From: woctordho Date: Wed, 12 Mar 2025 11:46:27 +0800 Subject: [PATCH 1/2] Obtain include and libs folders from nuget in stable-release.yml --- .github/workflows/stable-release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index f7d30a9a4..547c0972d 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -1,4 +1,3 @@ - name: "Release Stable Version" on: @@ -69,6 +68,11 @@ jobs: sed -i '1i../ComfyUI' ./python3${{ inputs.python_minor }}._pth cd .. + curl --location https://www.nuget.org/api/v2/package/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }} -o python_nuget.zip + unzip python_nuget.zip -d python_nuget + cp -r python_nuget/tools/include python_embeded/ + cp -r python_nuget/tools/libs python_embeded/ + git clone --depth 1 https://github.com/comfyanonymous/taesd cp taesd/*.pth ./ComfyUI_copy/models/vae_approx/ From 81025ce2c44b70b4ff551eaf8c0d8589a3417612 Mon Sep 17 00:00:00 2001 From: woctordho Date: Wed, 12 Mar 2025 11:55:34 +0800 Subject: [PATCH 2/2] Quiet unzip --- .github/workflows/stable-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/stable-release.yml b/.github/workflows/stable-release.yml index 547c0972d..6f29040fc 100644 --- a/.github/workflows/stable-release.yml +++ b/.github/workflows/stable-release.yml @@ -69,7 +69,7 @@ jobs: cd .. curl --location https://www.nuget.org/api/v2/package/python/3.${{ inputs.python_minor }}.${{ inputs.python_patch }} -o python_nuget.zip - unzip python_nuget.zip -d python_nuget + unzip -q python_nuget.zip -d python_nuget cp -r python_nuget/tools/include python_embeded/ cp -r python_nuget/tools/libs python_embeded/