Skip to content

Commit 342cf64

Browse files
Add a way to have different names for stable nvidia portables. (#10106)
1 parent 3758848 commit 342cf64

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/stable-release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ on:
2828
required: true
2929
type: string
3030
default: "nvidia"
31+
rel_extra_name:
32+
description: 'Release extra name'
33+
required: false
34+
type: string
35+
default: ""
3136
test_release:
3237
description: 'Test Release'
3338
required: true
@@ -107,7 +112,7 @@ jobs:
107112
cd ..
108113
109114
"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
110-
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
115+
mv ComfyUI_windows_portable.7z ComfyUI/ComfyUI_windows_portable_${{ inputs.rel_name }}${{ inputs.rel_extra_name }}.7z
111116
112117
- shell: bash
113118
if: ${{ inputs.test_release }}
@@ -123,7 +128,7 @@ jobs:
123128
- name: Upload binaries to release
124129
uses: softprops/action-gh-release@v2
125130
with:
126-
files: ComfyUI_windows_portable_${{ inputs.rel_name }}.7z
131+
files: ComfyUI_windows_portable_${{ inputs.rel_name }}${{ inputs.rel_extra_name }}.7z
127132
tag_name: ${{ inputs.git_tag }}
128133
draft: true
129134
overwrite_files: true

0 commit comments

Comments
 (0)