fix: publish registry releases only from version tags
This commit is contained in:
@@ -24,5 +24,7 @@ jobs:
|
||||
pip install -e ".[test]"
|
||||
- name: Run CPU unit tests
|
||||
run: python -m pytest -q
|
||||
- name: Run registry security style checks
|
||||
run: python -m ruff check --select E702 .
|
||||
- name: Build wheel from clean metadata
|
||||
run: python -m pip wheel . --no-deps --wheel-dir dist
|
||||
|
||||
@@ -2,8 +2,7 @@ name: Publish to Comfy Registry
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main, master]
|
||||
paths: ["pyproject.toml"]
|
||||
tags: ["v*"]
|
||||
permissions:
|
||||
issues: write
|
||||
jobs:
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ dependencies = ["hicache-pp>=1.1.0"]
|
||||
classifiers = ["Development Status :: 5 - Production/Stable"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = ["pytest>=8", "numpy>=1.24", "torch>=2.1"]
|
||||
test = ["pytest>=8", "numpy>=1.24", "torch>=2.1", "ruff>=0.16"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/Archerkattri/ComfyUI-HiCache"
|
||||
|
||||
Reference in New Issue
Block a user