Skip to content

Commit

Permalink
Create comfy_windows.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KAJdev committed Jul 13, 2023
1 parent 58075b4 commit 39da8e3
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/comfy_windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Windows Release Repackaging with ZIP"

on:
workflow_dispatch:
push:
branches:
- tauri

jobs:
repackage_comfyui:
permissions:
contents: "write"
packages: "write"
pull-requests: "read"
runs-on: ubuntu-latest
steps:
- shell: bash
run: |
sudo apt-get update
sudo apt-get install -y p7zip-full
sudo apt-get install -y zip
wget https://github.com/comfyanonymous/ComfyUI/releases/download/latest/ComfyUI_windows_portable_nvidia_cu118_or_cpu.7z
7z x ComfyUI_windows_portable_nvidia_cu118_or_cpu.7z -o ComfyUI_windows_portable
rm ComfyUI_windows_portable_nvidia_cu118_or_cpu.7z
cd ComfyUI_windows_portable
zip -r ComfyUI_windows_portable.zip ComfyUI
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ComfyUI_windows_portable.zip
tag: "latest"
overwrite: true

0 comments on commit 39da8e3

Please sign in to comment.