Fix publish command invocation
Run node publishing directly through the Comfy CLI without the external environment wrapper, and update the workflow test to prevent regressions.
This commit is contained in:
@@ -153,7 +153,7 @@ jobs:
|
||||
REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
run: |
|
||||
set +e
|
||||
output="$(comfy --skip-prompt --no-enable-telemetry env comfy node publish --token "$REGISTRY_ACCESS_TOKEN" 2>&1)"
|
||||
output="$(comfy --skip-prompt --no-enable-telemetry node publish --token "$REGISTRY_ACCESS_TOKEN" 2>&1)"
|
||||
exit_code=$?
|
||||
printf '%s\n' "$output"
|
||||
|
||||
|
||||
@@ -19,4 +19,5 @@ def test_publish_workflow_uses_current_python_runtime_without_the_external_wrapp
|
||||
|
||||
assert "actions/setup-python@v6" in workflow
|
||||
assert "Comfy-Org/publish-node-action@main" not in workflow
|
||||
assert "comfy node publish --token" in workflow
|
||||
assert "comfy --skip-prompt --no-enable-telemetry node publish --token" in workflow
|
||||
assert "env comfy node publish" not in workflow
|
||||
|
||||
Reference in New Issue
Block a user