Skip to content

Commit

Permalink
typo in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Do committed Feb 10, 2024
1 parent 82590c0 commit ce7d8cc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build_and_unitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,34 +58,33 @@ jobs:
files: src/world_modeling/**

- name: Update CHANGED_MODULES for changes
if: steps.changed-files-action.outputs.any_changed == 'true'
run: |
if [steps.changed-files-action.outputs.any_changed == 'true']; then
if [ ${{ steps.changed-files-action.outputs.any_changed }} ]; then
echo "Detected action changes"
echo "CHANGED_MODULES=$CHANGED_MODULES action" >> $GITHUB_ENV
fi
if [steps.changed-files-interfacing.outputs.any_changed == 'true']; then
if [ ${{ steps.changed-files-interfacing.outputs.any_changed }}]; then
echo "Detected interfacing changes"
echo "CHANGED_MODULES=$CHANGED_MODULES interfacing" >> $GITHUB_ENV
fi
if [steps.changed-files-perception.outputs.any_changed == 'true']; then
if [ ${{ steps.changed-files-perception.outputs.any_changed }} ]; then
echo "Detected perception changes"
echo "CHANGED_MODULES=$CHANGED_MODULES perception" >> $GITHUB_ENV
fi
if [steps.changed-files-samples.outputs.any_changed == 'true']; then
if [ ${{ steps.changed-files-samples.outputs.any_changed }} ]; then
echo "Detected samples changes"
echo "CHANGED_MODULES=$CHANGED_MODULES samples" >> $GITHUB_ENV
fi
if [steps.changed-files-simulation.outputs.any_changed == 'true']; then
if [ ${{ steps.changed-files-simulation.outputs.any_changed }} ]; then
echo "Detected simulation changes"
echo "CHANGED_MODULES=$CHANGED_MODULES simulation" >> $GITHUB_ENV
fi
if [steps.changed-files-world-modeling.outputs.any_changed == 'true']; then
if [ ${{ steps.changed-files-world-modeling.outputs.any_changed }} ]; then
echo "Detected world_modeling changes"
echo "CHANGED_MODULES=$CHANGED_MODULES world_modeling" >> $GITHUB_ENV
fi
Expand Down

0 comments on commit ce7d8cc

Please sign in to comment.