Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang committed Jun 26, 2024
1 parent c4a0e00 commit 64bcebf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,13 @@ runs:
run: |
python3 main.py > application.log 2>&1 &
- name: '[Unix] Check if the server is running'
if: ${{ inputs.os != 'windows' }}
run: |
cd ${{ github.action_path }}
python3 poll_server_start.py > application.log 2>&1
shell: bash -el {0}

- name: '[Unix] Get Commit Details'
id: unix_get_commit_details
if: ${{ inputs.os != 'windows' }}
Expand Down
3 changes: 2 additions & 1 deletion queue_prompt.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ def main(args):
)
print("Output:", result.stdout)
except subprocess.CalledProcessError as e:
print("Output:", e.stdout)
print("Error STD Out:", e.stdout)
print("Error:", e.stderr)
raise e

print(f"Workflow {file_path} completed")
end_time = int(datetime.datetime.now().timestamp())
Expand Down

0 comments on commit 64bcebf

Please sign in to comment.