Skip to content

Commit

Permalink
dsad
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 28, 2024
1 parent 954271c commit 1f10392
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,10 @@ runs:
ls
conda activate comfyui
$jsonInput = '${{ inputs.models-json }}'
$jsonInputEscaped = $jsonInput -replace '"', '\"'
$outputDir = "$Env:GITHUB_WORKSPACE\models\"
Write-Host "Running download-models.py with input: $jsonInput and output directory: $outputDir"
python download-models.py raw "$jsonInput" "$outputDir"
Write-Host "Running download-models.py with input: $jsonInputEscaped and output directory: $outputDir"
python download-models.py raw "$jsonInputEscaped" "$outputDir"
- name: '[Win] Run Python application'
if: ${{ inputs.os == 'windows' }}
Expand Down

0 comments on commit 1f10392

Please sign in to comment.