Skip to content

Commit

Permalink
handle parse error
Browse files Browse the repository at this point in the history
  • Loading branch information
rvykydal committed Apr 19, 2024
1 parent c0d9ecc commit 041e27b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/kickstart-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,18 +184,16 @@ jobs:
repository: rhinstaller/tplib
path: tplib

- name: Generate query arguments for "${{ needs.pr-info.outputs.target_branch }}"
- name: Generate query arguments for branch "${{ needs.pr-info.outputs.target_branch }}"
id: generate_query
working-directory: ./kickstart-tests
run: |
set -eux
LAUNCH_ARGS=$(scripts/generate-launch-args.py ${{ needs.pr-info.outputs.comment_args }} \
--branch ${{ needs.pr-info.outputs.target_branch }} )
if [ $? == 0 ]; then
echo "Parsed launch arguments: $LAUNCH_ARGS"
else
echo "Parsing of the arguments failed"
echo "Parsing of the arguments failed. See the workflow file for usage."
exit 1
fi
PERMIAN_QUERY=$(scripts/generate-permian-query.py $LAUNCH_ARGS)
Expand Down

0 comments on commit 041e27b

Please sign in to comment.