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 62a2ae3 commit d9c3884
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/test-monai-deploy-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,16 @@ jobs:
echo "WorkflowID Present"
fi
- name: Test env VAR
run: |
echo "State is: '${{ env.WID }}'" # Output works
if: env.WID != 'false'
echo "WID works"
- name: Test WorkflowID
continue-on-error: true
run: |
if: ${{ env.GITHUB_SIZE < 32 }}
echo "State is: '${{ env.WID }}'" # Output works
if: ${{ env.WID }} == 'false'
uses: actions/github-script@v3
with:
script: |
core.setFailed('No workflow ID returned')
if: ${{ env.GITHUB_SIZE >= 32 }}
if: ${{ env.WID }} =='true'
run: echo 'Workflow ID Returned'
- name: Collect Logs
Expand Down

0 comments on commit d9c3884

Please sign in to comment.