Skip to content

Commit

Permalink
Update CI check to use flag to fail verification for version mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
aggarw13 committed Jul 28, 2021
1 parent 3cc6655 commit 6cbc0ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,5 @@ jobs:
with:
path: ./FreeRTOS
exclude-submodules: FreeRTOS-Plus/Test/CMock,FreeRTOS/Test/CMock/CMock,FreeRTOS/Test/litani
fail-on-incorrect-version: true

1 change: 1 addition & 0 deletions manifest-verifier/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ runs:
working-directory: ${{ inputs.path }}
run: |
if [[ "${{ inputs.fail-on-incorrect-version }}" == "true" ]]; then
echo 'Value of flag is ${{ inputs.fail-on-incorrect-version }}'
python3 $GITHUB_ACTION_PATH/verify_manifest.py --ignore-submodule-path=${{ inputs.exclude-submodules }} --fail-on-incorrect-version
else
python3 $GITHUB_ACTION_PATH/verify_manifest.py --ignore-submodule-path=${{ inputs.exclude-submodules }}
Expand Down

0 comments on commit 6cbc0ff

Please sign in to comment.