Add an automatic standalone windows release for nvidia and cpu.

This commit is contained in:
comfyanonymous
2023-03-13 01:34:09 -04:00
parent 0f3ba7482f
commit f0d8fdc0d6
8 changed files with 154 additions and 0 deletions

33
.github/workflows/windows_release.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: "Windows Release"
on:
push:
branches:
- master
jobs:
build:
permissions:
contents: "write"
packages: "write"
pull-requests: "read"
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: |
cd ..
cp ComfyUI/.ci/setup_windows_zip.ps1 ./
cp -r ComfyUI ComfyUI_copy
.\setup_windows_zip.ps1
ls
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "ComfyUI Standalone Portable Windows Build (For NVIDIA or CPU only)"
files: ComfyUI_windows_portable_nvidia_or_cpu.7z