Skip to content

Commit

Permalink
Update action.yml and lora.json files
Browse files Browse the repository at this point in the history
  • Loading branch information
yoland68 committed Jul 11, 2024
1 parent c6a30fb commit aca073b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
26 changes: 20 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,27 @@ runs:
shell: bash -el {0}
run: |
cd ${{ github.action_path }}
echo "Running workflows: ${{inputs.workflow_filenames}}"
python3 action.py --comfy-workflow-names ${{ inputs.workflow_filenames }} --github-action-workflow-name "${{ github.workflow }}" --os "${{ inputs.os }}" --run-id "${{ github.run_id }}" --gsc-bucket-name "${{ inputs.gcs_bucket_name }}" --workspace-path "${{ github.workspace }}" --output-file-prefix ${{ inputs.output_prefix }} --repo "${{ github.repository }}" --commit-hash "${{ steps.unix_get_commit_details.outputs.commit_hash }}" --commit-time "${{ steps.unix_get_commit_details.outputs.commit_time }}" --commit-message "${{ steps.unix_get_commit_details.outputs.commit_title }}" --branch-name "${{ github.ref_name }}" --api-endpoint "${{ inputs.api_endpoint }}" ${{ inputs.comfyui_flags }}
echo "Running workflows: ${{ inputs.workflow_filenames }}"
python3 action.py \
--comfy-workflow-names ${{ inputs.workflow_filenames }} \
--github-action-workflow-name "${{ github.workflow }}" \
--os "${{ inputs.os }}" \
--run-id "${{ github.run_id }}" \
--gsc-bucket-name "${{ inputs.gcs_bucket_name }}" \
--workspace-path "${{ github.workspace }}" \
--output-file-prefix ${{ inputs.output_prefix }} \
--repo "${{ github.repository }}" \
--commit-hash "${{ steps.unix_get_commit_details.outputs.commit_hash }}" \
--commit-time "${{ steps.unix_get_commit_details.outputs.commit_time }}" \
--commit-message "${{ steps.unix_get_commit_details.outputs.commit_title }}" \
--branch-name "${{ github.ref_name }}" \
--api-endpoint "${{ inputs.api_endpoint }}" \
${{ inputs.comfyui_flags }}
- name: '[Unix] Sleep for 10 minutes on failure'
if: ${{ inputs.os != 'windows' && failure() }}
shell: "bash"
run: sleep 600
# - name: '[Unix] Sleep for 10 minutes on failure'
# if: ${{ inputs.os != 'windows' && failure() }}
# shell: "bash"
# run: sleep 600

- name: '[Unix] Upload Output Files'
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion workflows/lora.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"4": {
"inputs": {
"ckpt_name": "v1-5-pruned-emaonly.ckpt"
"ckpt_name": "v1-5-pruned-emaonly.safetensors"
},
"class_type": "CheckpointLoaderSimple",
"_meta": {
Expand Down

0 comments on commit aca073b

Please sign in to comment.