From fa4ed38d2420a52a8338964b6fabe2b5c53fdccc Mon Sep 17 00:00:00 2001 From: FuouM Date: Sun, 15 Mar 2026 12:02:23 +0700 Subject: [PATCH] fix workflow --- .github/workflows/publish_action.yml | 20 +++++++++++++++----- pyproject.toml | 2 +- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish_action.yml b/.github/workflows/publish_action.yml index 37928da..114032e 100644 --- a/.github/workflows/publish_action.yml +++ b/.github/workflows/publish_action.yml @@ -18,9 +18,19 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - - name: Publish Custom Node - uses: Comfy-Org/publish-node-action@v1 + + - name: Set up Python + uses: actions/setup-python@v5 with: - ## Add your own personal access token to your Github Repository secrets and reference it here. - personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }} - create_if_not_exists: false \ No newline at end of file + python-version: '3.10' # matches what comfy-cli expects + + - name: Install comfy-cli + run: | + python -m pip install --upgrade pip + pip install comfy-cli + + - name: Publish node version + env: + COMFY_REGISTRY_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }} + run: | + comfy --skip-prompt --no-enable-telemetry node publish \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 65b832d..97cfb31 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "ComfyUI-MatAnyone" description = "MatAnyone in ComfyUI (Remove background)" -version = "2.1.0" +version = "2.1.1" license = {file = "LICENSE"} dependencies = ["torch", "omegaconf"]