diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..4707daa --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,28 @@ +name: Publish to Comfy registry +on: + workflow_dispatch: + push: + branches: + - main + - master + paths: + - "pyproject.toml" + +permissions: + issues: write + +jobs: + publish-node: + name: Publish Custom Node to registry + runs-on: ubuntu-latest + if: ${{ github.repository_owner == 'Windecay' }} + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + submodules: true + - name: Publish Custom Node + uses: Comfy-Org/publish-node-action@v1 + with: + ## Add your own personal access token to your Github Repository secrets and reference it here. + personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..2e9aaba --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,36 @@ +[project] +name = "dynamic-ramcache" +description = "A custom node for ComfyUI that dynamically manages RAM usage by intelligently controlling cache purging based on available system memory." +version = "1.0.0" +license = {file = "LICENSE"} +# classifiers = [ +# # For OS-independent nodes (works on all operating systems) +# "Operating System :: OS Independent", +# +# # OR for OS-specific nodes, specify the supported systems: +# "Operating System :: Microsoft :: Windows", # Windows specific +# "Operating System :: POSIX :: Linux", # Linux specific +# "Operating System :: MacOS", # macOS specific +# +# # GPU Accelerator support. Pick the ones that are supported by your extension. +# "Environment :: GPU :: NVIDIA CUDA", # NVIDIA CUDA support +# "Environment :: GPU :: AMD ROCm", # AMD ROCm support +# "Environment :: GPU :: Intel Arc", # Intel Arc support +# "Environment :: NPU :: Huawei Ascend", # Huawei Ascend support +# "Environment :: GPU :: Apple Metal", # Apple Metal support +# ] + + +[project.urls] +Repository = "https://github.com/Windecay/ComfyUI_Dynamic-RAMCache" +# Used by Comfy Registry https://registry.comfy.org +Documentation = "https://github.com/Windecay/ComfyUI_Dynamic-RAMCache/wiki" +"Bug Tracker" = "https://github.com/Windecay/ComfyUI_Dynamic-RAMCache/issues" + +[tool.comfy] +PublisherId = "windecay" +DisplayName = "ComfyUI_Dynamic-RAMCache" +Icon = "" +includes = [] +# "requires-comfyui" = ">=0.3.68" # ComfyUI version compatibility +