Skip to content

Commit

Permalink
Test the workflow run id.
Browse files Browse the repository at this point in the history
  • Loading branch information
xuzhao9 committed Jun 7, 2024
1 parent 2d8999b commit 73a1de7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/torchao.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
sudo nvidia-smi -ac 1215,1410
nvidia-smi
sudo ldconfig
- name: Test workflow ID env
env:
WORKFLOW_RUN_ID: ${{ github.event.workflow_run.id }}
WORKFLOW_RUN_ATTEMPT: ${{ github.event.workflow_run.run_attempt }}
run: |
echo ${WORKFLOW_RUN_ID}
echo ${WORKFLOW_RUN_ATTEMPT}
- name: Clone and setup conda env
run: |
CONDA_ENV=${BASE_CONDA_ENV} . "${SETUP_SCRIPT}"
Expand Down

0 comments on commit 73a1de7

Please sign in to comment.