Skip to content

Commit

Permalink
Update action.yml to fix prompt ID references
Browse files Browse the repository at this point in the history
  • Loading branch information
yoland68 committed Jun 12, 2024
1 parent 47dab38 commit 68fac81
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ runs:
shell: bash -el {0}

- name: '[Unix] Queue Prompts'
id: unix_queue_prompt
if: ${{ inputs.os != 'windows' }}
shell: bash -el {0}
run: |
Expand All @@ -170,8 +171,8 @@ runs:
shell: bash -el {0}
run: |
cd ${{ github.action_path }}
echo "Prompt ID: ${{ steps.queue_prompt_unix.outputs.prompt_id }}"
python3 check_prompt_status.py ${{ steps.queue_prompt_unix.outputs.prompt_id }} http://localhost:8188/history ${{ inputs.timeout }}
echo "Prompt ID: ${{ steps.unix_queue_prompt.outputs.prompt_id }}"
python3 check_prompt_status.py ${{ steps.unix_queue_prompt.outputs.prompt_id }} http://localhost:8188/history ${{ inputs.timeout }}
- name: '[Unix] Get end time Unix'
id: unix_end_time
Expand Down Expand Up @@ -383,7 +384,7 @@ runs:
shell: powershell

- name: '[Win] Queue Prompt'
id: queue_prompt_win
id: win_queue_prompt
if: ${{ inputs.os == 'windows' }}
shell: powershell
run: |
Expand All @@ -410,8 +411,8 @@ runs:
shell: powershell
run: |
cd $Env:GITHUB_ACTION_PATH
Write-Output "Prompt ID: ${{ steps.queue_prompt_win.outputs.prompt_id }}"
python check_prompt_status.py ${{ steps.queue_prompt_win.outputs.prompt_id }} http://localhost:8188/history ${{ inputs.timeout }}
Write-Output "Prompt ID: ${{ steps.win_queue_prompt.outputs.prompt_id }}"
python check_prompt_status.py ${{ steps.win_queue_prompt.outputs.prompt_id }} http://localhost:8188/history ${{ inputs.timeout }}
- name: '[Win] Get end time'
id: win_end_tim
Expand Down

0 comments on commit 68fac81

Please sign in to comment.