- Updated the render function to accept an optional outputSlot parameter. - Modified renderNode to handle output slots and gather input information. - Introduced RenderInputInfo interface to encapsulate details about each input. - Added logic to create placeholder canvases for missing upstream nodes. - Updated signature function to include outputSlot in cache key. ci: add nightly build and stable release workflows - Created nightly.yml for automated nightly builds and uploads to GitHub. - Added release-on-tag.yml for creating stable releases on version tags. - Implemented steps to create zip archives excluding unnecessary files. - Configured GitHub Actions to publish releases and custom nodes to the registry.
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
name: Nightly Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
- nightly
|
|
paths-ignore:
|
|
- "**.md"
|
|
- ".github/workflows/**"
|
|
- "tests/**"
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
build-nightly:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Create Archive
|
|
run: |
|
|
echo "nightly" > .mjr_channel
|
|
zip -r ComfyUI-Majoor-ImageOps_nightly.zip . \
|
|
-x "*.git/*" \
|
|
-x ".github/*" \
|
|
-x ".claude/*" \
|
|
-x "*/__pycache__/*" \
|
|
-x "node_modules/*" \
|
|
-x "*/.pytest_cache/*" \
|
|
-x "tests/*" \
|
|
-x ".vscode/*" \
|
|
-x "*.zip"
|
|
|
|
- name: Update Nightly Release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
tag_name: nightly
|
|
name: "Nightly Build (Development)"
|
|
prerelease: true
|
|
overwrite_files: true
|
|
files: |
|
|
./ComfyUI-Majoor-ImageOps_nightly.zip
|