Skip to content

Commit

Permalink
Add option for spec file.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Aug 16, 2024
1 parent b01f297 commit c50c197
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/mac-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "Mac ARM Release Dependencies with Nightly PyTorch"
on:
workflow_dispatch:
inputs:
spec_file:
description: 'spec file'
required: true
type: string
default: "ComfyUI.spec"
python_minor:
description: 'python minor version'
required: true
Expand Down Expand Up @@ -54,9 +59,9 @@ jobs:
source packaged_env/bin/activate
pip install pyinstaller
git clone https://github.com/comfyanonymous/ComfyUI --depth 1
cp ComfyUI.spec ComfyUI/
cp ${{ inputs.spec_file }} ComfyUI/
cd ComfyUI
pyinstaller ComfyUI.spec --onefile
pyinstaller ${{ inputs.spec_file }} --onefile
tar -czf mac_arm_python_env.tar.gz dist
- name: Get current date
Expand Down

0 comments on commit c50c197

Please sign in to comment.