Skip to content

Commit

Permalink
Update test-monai-deploy-express.yml
Browse files Browse the repository at this point in the history
Signed-off-by: JHancox <[email protected]>
  • Loading branch information
JHancox authored Jun 4, 2024
1 parent 85bf0c2 commit 62a2ae3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test-monai-deploy-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,18 @@ jobs:
SIZE=${#WORKFLOW_ID}
echo "GITHUB_SIZE=$(echo $SIZE)" >> $GITHUB_ENV
if [[ $SIZE < 32 ]]; then
echo "WID=true" >> "$GITHUB_ENV"
echo "WID=false" >> "$GITHUB_ENV"
echo "No WorkflowID"
else
echo "WID=false" >> "$GITHUB_ENV"
echo "WID=true" >> "$GITHUB_ENV"
echo "WorkflowID Present"
fi
- name: Test env VAR
if: env.WID != 'false'
run: echo "Yeah"
run: |
echo "State is: '${{ env.WID }}'" # Output works
if: env.WID != 'false'
echo "WID works"
- name: Test WorkflowID
continue-on-error: true
Expand Down

0 comments on commit 62a2ae3

Please sign in to comment.