Skip to content

Commit

Permalink
experimental, don't install conda if conda already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jul 31, 2024
1 parent 5aea7ae commit 1eb93fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ runs:

- name: '[Unix] Setup Conda'
uses: conda-incubator/[email protected]
if: ${{ inputs.os != 'windows' }}
if: ${{ inputs.os != 'windows' && hashFiles('${{ env.HOME }}/miniconda3/envs/gha-comfyui-${{ inputs.python_version }}-${{ inputs.torch_version }}/bin/pip') == '' }}
with:
activate-environment: gha-comfyui-${{ inputs.python_version }}-${{ inputs.torch_version }}
miniconda-version: "latest"
Expand Down

0 comments on commit 1eb93fc

Please sign in to comment.