Skip to content

Commit

Permalink
Add temporary unix sleep debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
yoland68 committed Jul 11, 2024
1 parent 3ff970e commit 7b57f7c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,16 @@ runs:
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: Sleep for 10 minutes on failure
# if: ${{ inputs.os == 'windows' && failure() }}
# shell: powershell
# run: Start-Sleep -Seconds 600

- name: '[Unix] Upload Output Files'
uses: actions/upload-artifact@v4
if: ${{ inputs.os != 'windows' && ( success() || failure() ) }}
Expand Down

0 comments on commit 7b57f7c

Please sign in to comment.