Skip to content

Commit

Permalink
Pre-bundle requirements.compiled (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang authored Nov 26, 2024
1 parent 71aa119 commit 495f895
Show file tree
Hide file tree
Showing 12 changed files with 710 additions and 80 deletions.
1 change: 0 additions & 1 deletion .github/actions/build/linux/app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ runs:
set -x
pip install comfy-cli
yarn make:assets:${{inputs.build-gpu}}
yarn clean:assets:dev
shell: bash
- name: Make app
shell: bash
Expand Down
1 change: 0 additions & 1 deletion .github/actions/build/windows/app/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ runs:
set -x
pip install comfy-cli
yarn make:assets:${{inputs.build-gpu}}
yarn clean:assets:dev
shell: bash
- name: Make app
shell: powershell
Expand Down
21 changes: 16 additions & 5 deletions .github/actions/build/windows/todesktop/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Windows Build to ToDesktop
name: Build to ToDesktop
description: Will build the project then send the project files to ToDesktop to be compiled into installers.
inputs:
GITHUB_TOKEN:
Expand All @@ -19,13 +19,24 @@ runs:
node-version: '20.x'
corepack: true
- run: yarn install --immutable
shell: cmd
shell: bash
- run: yarn set version --yarn-path self
shell: cmd
shell: bash
- run: yarn run download:uv all
shell: powershell
shell: bash
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install ComfyUI and create standalone package
shell: bash
run: |
set -x
pip install comfy-cli
yarn make:assets:cpu
yarn clean:assets:git
- name: Make app
shell: powershell
shell: bash
env:
PUBLISH: true
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'Release'))
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Github checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# desktop comfyui

[![codecov](https://codecov.io/github/Comfy-Org/electron/graph/badge.svg?token=S64WJWD2ZX)](https://codecov.io/github/Comfy-Org/electron)
![Beta](https://img.shields.io/badge/beta-blue.svg)

# Overview

Expand Down
Loading

0 comments on commit 495f895

Please sign in to comment.