Skip to content

Commit

Permalink
bash moment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Do committed Feb 13, 2024
1 parent 5700242 commit a372d7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/templates/check_src_changes/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,13 @@ runs:
run: |
echo "outside: ${{ steps.changed-files-outside-src.outputs.any_changed }}"
echo "wato_msgs: ${{ steps.changed-files-wato-msgs.outputs.any_changed }}"
echo "wato_msgs: ${{ steps.changed-files-wato-msgs.outputs.any_changed || steps.changed-files-outside-src.outputs.any_changed }}"
shell: bash

- name: Create list of changed modules
id: output-changes
env:
INFRASTRUCTURE_CHANGED: $ {{ steps.changed-files-wato-msgs.outputs.any_changed || steps.changed-files-outside-src.outputs.any_changed}}
INFRASTRUCTURE_CHANGED: ${{ steps.changed-files-wato-msgs.outputs.any_changed || steps.changed-files-outside-src.outputs.any_changed }}
ACTION_CHANGED: ${{ steps.changed-files-action.outputs.any_changed }}
INTERFACING_CHANGED: ${{ steps.changed-files-interfacing.outputs.any_changed }}
PERCEPTION_CHANGED: ${{ steps.changed-files-perception.outputs.any_changed }}
Expand Down
2 changes: 1 addition & 1 deletion .github/templates/check_src_changes/check_src_changes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if [ $WORLD_MODELING_CHANGED == 'true' ]; then
fi

# Infrastructure
if [$INFRASTRUCTURE_CHANGED == 'true']; then
if [ $INFRASTRUCTURE_CHANGED == 'true' ]; then
echo "Detected infrastructure changes"
echo "::notice:: Detected infrastructure changes, testing entire repo"
MODIFIED_MODULES="infrastructure"
Expand Down

0 comments on commit a372d7f

Please sign in to comment.