Skip to content

Commit 31501f1

Browse files
committed
Activate.
1 parent 89302e6 commit 31501f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

action.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ runs:
215215
shell: powershell
216216
run: |
217217
conda env create -f ${{ inputs.conda_env_file }}
218-
conda activate comfyui
219218
220219
- name: "[Win] Check conda environment"
221220
if: ${{ inputs.os == 'windows' }}
@@ -228,6 +227,7 @@ runs:
228227
if: ${{ inputs.os == 'windows' }}
229228
id: generate_hash_windows
230229
run: |
230+
conda activate comfyui
231231
Set-Location ${{ env.GITHUB_ACTION_PATH }}
232232
$hash = python3 hash_string.py '${{ inputs.models-json }}'
233233
echo "##[set-output name=hash;]$hash"
@@ -255,6 +255,7 @@ runs:
255255
shell: powershell
256256
run: |
257257
Set-Location ${{ env.GITHUB_ACTION_PATH }}
258+
conda activate comfyui
258259
python download-models.py raw "${{ inputs.models-json }}" "${{ env.GITHUB_WORKSPACE }}\models\"
259260
260261
- name: '[Win] Run Python application'
@@ -271,6 +272,7 @@ runs:
271272
if: ${{ inputs.os == 'windows' }}
272273
run: |
273274
cd $Env:GITHUB_ACTION_PATH
275+
conda activate comfyui
274276
python poll_server_start.py
275277
shell: powershell
276278

@@ -292,6 +294,7 @@ runs:
292294
shell: powershell
293295
run: |
294296
Set-Location ${{ env.GITHUB_ACTION_PATH }}
297+
conda activate comfyui
295298
Write-Host "Running workflows: ${{ inputs.workflow_filenames }}"
296299
python queue_prompt.py `
297300
--comfy-workflow-names "${{ inputs.workflow_filenames }}" `

0 commit comments

Comments
 (0)