Skip to content

Commit

Permalink
add conda env input.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 26, 2024
1 parent 919feea commit 769d9df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 53 deletions.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ inputs:
description: "Comfy Org API endpoint"
required: false
default: "https://api.comfy.org/upload-artifact"
conda_env_file:
description: "Conda environment file. Path is relative to your repository root."
required: true
runs:
using: "composite"
steps:
Expand Down Expand Up @@ -104,7 +107,7 @@ runs:
with:
activate-environment: comfyui
auto-activate-base: false
environment-file: ${{ github.action_path }}/environments/${{ inputs.os }}-environment.yml
environment-file: ${{ inputs.conda_env_file }}
use-only-tar-bz2: true

- name: '[Unix] Install Comfy-CLI'
Expand Down
27 changes: 0 additions & 27 deletions environments/linux-environment.yml

This file was deleted.

25 changes: 0 additions & 25 deletions environments/mac-environment.yml

This file was deleted.

0 comments on commit 769d9df

Please sign in to comment.