Skip to content

Commit b54b39f

Browse files
committed
Update release workflows for branch process
1 parent 277237c commit b54b39f

File tree

7 files changed

+24
-9
lines changed

7 files changed

+24
-9
lines changed

.github/workflows/test-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- master
8+
- release/**
89
paths-ignore:
910
- 'app/**'
1011
- 'input/**'

.github/workflows/test-execution.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Execution Tests
22

33
on:
44
push:
5-
branches: [ main, master ]
5+
branches: [ master, release/** ]
66
pull_request:
7-
branches: [ main, master ]
7+
branches: [ master, release/** ]
88

99
jobs:
1010
test:

.github/workflows/test-launch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Test server launches without errors
22

33
on:
44
push:
5-
branches: [ main, master ]
5+
branches: [ master, release/** ]
66
pull_request:
7-
branches: [ main, master ]
7+
branches: [ master, release/** ]
88

99
jobs:
1010
test:

.github/workflows/test-unit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Unit Tests
22

33
on:
44
push:
5-
branches: [ main, master ]
5+
branches: [ master, release/** ]
66
pull_request:
7-
branches: [ main, master ]
7+
branches: [ master, release/** ]
88

99
jobs:
1010
test:

.github/workflows/update-version.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
- "pyproject.toml"
77
branches:
88
- master
9+
- release/**
910

1011
jobs:
1112
update-version:

.github/workflows/windows_release_nightly_pytorch.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
type: string
1010
default: "129"
1111

12+
release_tag:
13+
description: 'Git tag to attach nightly package (e.g., v0.37.0); leave empty to upload to latest'
14+
required: false
15+
type: string
16+
default: ""
17+
1218
python_minor:
1319
description: 'python minor version'
1420
required: true
@@ -34,6 +40,7 @@ jobs:
3440
steps:
3541
- uses: actions/checkout@v4
3642
with:
43+
ref: ${{ inputs.release_tag || 'master' }}
3744
fetch-depth: 30
3845
persist-credentials: false
3946
- uses: actions/setup-python@v5
@@ -89,5 +96,5 @@ jobs:
8996
with:
9097
repo_token: ${{ secrets.GITHUB_TOKEN }}
9198
file: ComfyUI_windows_portable_nvidia_or_cpu_nightly_pytorch.7z
92-
tag: "latest"
99+
tag: ${{ inputs.release_tag || 'latest' }}
93100
overwrite: true

.github/workflows/windows_release_package.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
type: string
1010
default: "129"
1111

12+
release_tag:
13+
description: 'Git tag to package and attach (e.g., v0.37.0); leave empty to build from master and upload to latest'
14+
required: false
15+
type: string
16+
default: ""
17+
1218
python_minor:
1319
description: 'python minor version'
1420
required: true
@@ -50,6 +56,7 @@ jobs:
5056
5157
- uses: actions/checkout@v4
5258
with:
59+
ref: ${{ inputs.release_tag || 'master' }}
5360
fetch-depth: 150
5461
persist-credentials: false
5562
- shell: bash
@@ -101,6 +108,5 @@ jobs:
101108
with:
102109
repo_token: ${{ secrets.GITHUB_TOKEN }}
103110
file: new_ComfyUI_windows_portable_nvidia_cu${{ inputs.cu }}_or_cpu.7z
104-
tag: "latest"
111+
tag: ${{ inputs.release_tag || 'latest' }}
105112
overwrite: true
106-

0 commit comments

Comments
 (0)