Skip to content

Commit

Permalink
Upload logs even if job submission fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Dec 10, 2024
1 parent ea23026 commit 4266708
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/run-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ jobs:
--runtime-env-json "$ray_env_var" \
-- python ${{ inputs.entrypoint_script }} ${{ inputs.entrypoint_args }}
- name: Download log files from ray cluster
if: always()
run: |
source .venv/bin/activate
ray rsync-down .github/assets/ray.yaml /tmp/ray/session_*/logs ray-daft-logs
Expand Down Expand Up @@ -152,6 +153,7 @@ jobs:
source .venv/bin/activate
ray down .github/assets/ray.yaml -y
- name: Upload log files
if: always()
uses: actions/upload-artifact@v4
with:
name: ray-daft-logs
Expand Down

0 comments on commit 4266708

Please sign in to comment.