Skip to content

Commit

Permalink
update.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 28, 2024
1 parent b9a6c3b commit 49ff6a7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,12 @@ runs:
if: ${{ inputs.os == 'windows' }}
id: generate_hash_windows
run: |
Set-Location $Env:GITHUB_ACTION_PATH
conda activate comfyui
Set-Location ${{ env.GITHUB_ACTION_PATH }}
$hash = python hash_string.py '${{ inputs.models-json }}'
echo "##[set-output name=hash;]$hash"
ls
python hash_string.py '${{ inputs.models-json }}' > hash_output.txt
$hash = Get-Content hash_output.txt
echo "hash=$hash" >> $Env:GITHUB_ENV
shell: powershell


Expand All @@ -256,6 +258,7 @@ runs:
shell: powershell
run: |
Set-Location ${{ env.GITHUB_ACTION_PATH }}
ls
conda activate comfyui
python download-models.py raw "${{ inputs.models-json }}" "${{ env.GITHUB_WORKSPACE }}\models\"
Expand Down

0 comments on commit 49ff6a7

Please sign in to comment.