diff --git a/action.yml b/action.yml index 970e2ba..e625144 100644 --- a/action.yml +++ b/action.yml @@ -94,13 +94,6 @@ runs: auto-activate-base: false python-version: ${{ inputs.python_version }} - - name: '[Unix] Install pip requirements for comfy action' - if: ${{ inputs.os != 'windows' }} - shell: bash -el {0} - run: | - cd ${{ github.action_path }} - pip3 install -r requirements.txt - - name: '[Unix] Install Comfy-CLI' if: ${{ inputs.os != 'windows' }} shell: bash -el {0} @@ -128,12 +121,18 @@ runs: conda list shell: bash -el {0} + - name: '[Unix] Install pip requirements for comfy action' + if: ${{ inputs.os != 'windows' }} + shell: bash -el {0} + run: | + cd ${{ github.action_path }} + pip3 install -r requirements.txt + - name: '[Unix] Download models' if: ${{ inputs.os != 'windows' }} shell: bash -el {0} run: | cd ${{ github.action_path }} - ls "${{ github.workspace }}" python3 download-models.py raw '${{ inputs.models-json }}' "${{ github.workspace }}/models/" - name: '[Unix] Install dependencies' diff --git a/requirements.txt b/requirements.txt index eb90394..b2e35b5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ requests comfy-cli -google-cloud-storage \ No newline at end of file +google-cloud-storage +charset-normalizer \ No newline at end of file