Update release workflows for branch process

This commit is contained in:
Benjamin Lu 2025-12-02 17:16:33 -08:00
parent 277237ccc1
commit b54b39fd3f
7 changed files with 24 additions and 9 deletions

View File

@ -5,6 +5,7 @@ on:
push:
branches:
- master
- release/**
paths-ignore:
- 'app/**'
- 'input/**'

View File

@ -2,9 +2,9 @@ name: Execution Tests
on:
push:
branches: [ main, master ]
branches: [ master, release/** ]
pull_request:
branches: [ main, master ]
branches: [ master, release/** ]
jobs:
test:

View File

@ -2,9 +2,9 @@ name: Test server launches without errors
on:
push:
branches: [ main, master ]
branches: [ master, release/** ]
pull_request:
branches: [ main, master ]
branches: [ master, release/** ]
jobs:
test:

View File

@ -2,9 +2,9 @@ name: Unit Tests
on:
push:
branches: [ main, master ]
branches: [ master, release/** ]
pull_request:
branches: [ main, master ]
branches: [ master, release/** ]
jobs:
test:

View File

@ -6,6 +6,7 @@ on:
- "pyproject.toml"
branches:
- master
- release/**
jobs:
update-version:

View File

@ -9,6 +9,12 @@ on:
type: string
default: "129"
release_tag:
description: 'Git tag to attach nightly package (e.g., v0.37.0); leave empty to upload to latest'
required: false
type: string
default: ""
python_minor:
description: 'python minor version'
required: true
@ -34,6 +40,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.release_tag || 'master' }}
fetch-depth: 30
persist-credentials: false
- uses: actions/setup-python@v5
@ -89,5 +96,5 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ComfyUI_windows_portable_nvidia_or_cpu_nightly_pytorch.7z
tag: "latest"
tag: ${{ inputs.release_tag || 'latest' }}
overwrite: true

View File

@ -9,6 +9,12 @@ on:
type: string
default: "129"
release_tag:
description: 'Git tag to package and attach (e.g., v0.37.0); leave empty to build from master and upload to latest'
required: false
type: string
default: ""
python_minor:
description: 'python minor version'
required: true
@ -50,6 +56,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.release_tag || 'master' }}
fetch-depth: 150
persist-credentials: false
- shell: bash
@ -101,6 +108,5 @@ jobs:
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: new_ComfyUI_windows_portable_nvidia_cu${{ inputs.cu }}_or_cpu.7z
tag: "latest"
tag: ${{ inputs.release_tag || 'latest' }}
overwrite: true