Skip to content

Commit

Permalink
Fix step validation on workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Dec 27, 2024
1 parent ef4eced commit a749f76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/Test_installation_assistant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,10 @@ jobs:
-e "pkg_repository=$PKG_REPOSITORY" \
"${{ inputs.VERBOSITY }}"
EXIT_CODE=$?
echo "$EXIT_CODE"
echo "install_aio=$EXIT_CODE" >> $GITHUB_OUTPUT
if [ $EXIT_CODE != 0 ]; then
exit 1
fi
- name: Execute Python test playbook
id: execute_test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ansible-playbooks/aio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

tasks:
- name: Test assistant AIO install
command: "bash {{ script_name }} -a -v -d {{ pkg_repository }}"
command: "bash {{ script_name }} -a -v -id -d {{ pkg_repository }}"
args:
chdir: "{{ script_path }}"
register: install_results
Expand Down

0 comments on commit a749f76

Please sign in to comment.