From bd4553680fa16cd4e1b60d90f3260597869c04e8 Mon Sep 17 00:00:00 2001 From: "async () = process.env.GIT_USERNAME || (await ghUser()).email && (await ghUser()).name || DIE(\"Missing env.GIT_USERNAME\")" Date: Fri, 6 Jun 2025 05:56:04 +0000 Subject: [PATCH 1/4] chore(publish): Add Github Action for Publishing to Comfy Registry --- .github/workflows/publish.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..1cd2819 --- /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 == 'xmarre' }} + 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 }} From ea80588c3006c3b44a445288e284c0b299272e8f Mon Sep 17 00:00:00 2001 From: xmarre Date: Fri, 6 Jun 2025 19:11:50 +0200 Subject: [PATCH 2/4] Add Comfy Registry metadata to pyproject.toml --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..3fc5466 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "TorchCompileModel_LoRASafe" +description = "LoRA‐Safe TorchCompile node for ComfyUI" +version = "0.1.0" +license = { file = "LICENSE" } +dependencies = [] + +[project.urls] +Repository = "https://github.com/xmarre/TorchCompileModel_LoRASafe" + +[tool.comfy] +PublisherId = "TorchCompileModel_LoRASafe" +DisplayName = "LoRA‐Safe TorchCompile" +Icon = "https://raw.githubusercontent.com/xmarre/TorchCompileModel_LoRASafe/main/icon.png" From f41d7e127a88f558d0c28f37ff6d405b4354ae2b Mon Sep 17 00:00:00 2001 From: xmarre Date: Fri, 6 Jun 2025 19:14:27 +0200 Subject: [PATCH 3/4] Add Comfy Registry metadata to pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3fc5466..e19ef5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,6 @@ dependencies = [] Repository = "https://github.com/xmarre/TorchCompileModel_LoRASafe" [tool.comfy] -PublisherId = "TorchCompileModel_LoRASafe" +PublisherId = "xmarre" DisplayName = "LoRA‐Safe TorchCompile" Icon = "https://raw.githubusercontent.com/xmarre/TorchCompileModel_LoRASafe/main/icon.png" From 369e7673aee5a8cd66959e61cffe37400ea47f29 Mon Sep 17 00:00:00 2001 From: xmarre Date: Fri, 6 Jun 2025 19:17:51 +0200 Subject: [PATCH 4/4] Add Comfy Registry metadata to pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e19ef5b..891b7fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,4 +11,4 @@ Repository = "https://github.com/xmarre/TorchCompileModel_LoRASafe" [tool.comfy] PublisherId = "xmarre" DisplayName = "LoRA‐Safe TorchCompile" -Icon = "https://raw.githubusercontent.com/xmarre/TorchCompileModel_LoRASafe/main/icon.png" +Icon = ""