mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-12-16 09:42:29 +08:00
Add a way to have different names for stable nvidia portables. (#10106)
This commit is contained in:
parent
3758848423
commit
342cf644ce
9
.github/workflows/stable-release.yml
vendored
9
.github/workflows/stable-release.yml
vendored
@ -28,6 +28,11 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
default: "nvidia"
|
default: "nvidia"
|
||||||
|
rel_extra_name:
|
||||||
|
description: 'Release extra name'
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
test_release:
|
test_release:
|
||||||
description: 'Test Release'
|
description: 'Test Release'
|
||||||
required: true
|
required: true
|
||||||
@ -107,7 +112,7 @@ jobs:
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2 -mx=9 -mfb=128 -md=768m -ms=on -mf=BCJ2 ComfyUI_windows_portable.7z ComfyUI_windows_portable
|
"C:\Program Files\7-Zip\7z.exe" a -t7z -m0=lzma2 -mx=9 -mfb=128 -md=768m -ms=on -mf=BCJ2 ComfyUI_windows_portable.7z ComfyUI_windows_portable
|
||||||
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
|
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}${{ inputs.rel_extra_name }}.7z
|
||||||
|
|
||||||
- shell: bash
|
- shell: bash
|
||||||
if: ${{ inputs.test_release }}
|
if: ${{ inputs.test_release }}
|
||||||
@ -123,7 +128,7 @@ jobs:
|
|||||||
- name: Upload binaries to release
|
- name: Upload binaries to release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
files: ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
|
files: ComfyUI_windows_portable_${{ inputs.rel_name }}${{ inputs.rel_extra_name }}.7z
|
||||||
tag_name: ${{ inputs.git_tag }}
|
tag_name: ${{ inputs.git_tag }}
|
||||||
draft: true
|
draft: true
|
||||||
overwrite_files: true
|
overwrite_files: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user