first commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: General Issue
|
||||
about: Create a general issue for ComfyUI-scripting-tools
|
||||
---
|
||||
|
||||
**Describe the issue**
|
||||
A clear and concise description of what the issue is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. ...
|
||||
2. ...
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots (if applicable)**
|
||||
Add screenshots to help explain your problem.
|
||||
|
||||
**Environment (please complete the following information):**
|
||||
- OS: [e.g. Windows, Linux]
|
||||
- ComfyUI version: [e.g. 1.8.0]
|
||||
- Extension version: [e.g. 1.0.0]
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
@@ -0,0 +1,44 @@
|
||||
name: Publish ComfyUI Scripting Tools
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
build-and-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt || true
|
||||
- name: Lint Python files
|
||||
run: |
|
||||
pip install flake8
|
||||
flake8 comfyui_scripting_tools --max-line-length=120
|
||||
- name: Check metadata file
|
||||
run: |
|
||||
test -f comfyui_scripting_tools.json
|
||||
- name: Show publish instructions
|
||||
run: |
|
||||
echo "To publish this package, follow the instructions at https://registry.comfy.org/docs/publish-extension/"
|
||||
|
||||
publish:
|
||||
name: "📦 Publish Custom Node"
|
||||
needs: build-and-check
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Publish to ComfyUI Registry
|
||||
uses: Comfy-Org/publish-node-action@main
|
||||
with:
|
||||
personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
||||
Reference in New Issue
Block a user