Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 27, 2024
1 parent d2c11ec commit dac12cc
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,26 +210,11 @@ runs:
## ##
#####################################################################################

- name: '[Windows] Cache Conda'
if: ${{ inputs.os != 'windows' }}
uses: actions/cache@v4
env:
# Increase this value to reset cache if the environment file has not changed
CACHE_NUMBER: 0
with:
path: C:\Miniconda3\envs\comfyui
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles(format('{0}', inputs.conda_env_file)) }}

- name: '[Win] Setup Conda'
uses: conda-incubator/setup-miniconda@v3
- name: '[Win-Only] Install Pytorch'
if: ${{ inputs.os == 'windows' }}
with:
auto-update-conda: false
activate-environment: comfyui
auto-activate-base: false
environment-file: ${{ inputs.conda_env_file }}
use-only-tar-bz2: true
continue-on-error: true
shell: powershell
run: |
conda env create -f ${{ inputs.conda_env_file }}
- name: "[Win] Check conda environment"
if: ${{ inputs.os == 'windows' }}
Expand Down

0 comments on commit dac12cc

Please sign in to comment.