Skip to content

Commit

Permalink
Use wildcards
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcekay committed Dec 5, 2024
1 parent 3a2a615 commit 198d3f9
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/flash_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,7 @@ jobs:
fi
- name: Store the ELF with the change
# Use special flash-analysis target if present. Otherwise fall back to the default target.
run: |
if make list_config_targets | grep ${{ matrix.target }}_flash-analysis; then
cp ./build/${{ matrix.target }}_flash-analysis/*.elf ./with-change.elf
else
cp ./build/${{ matrix.target }}_default/*.elf ./with-change.elf
fi
run: cp ./build/**/*.elf ./with-change.elf

- name: Clean previous build
run: |
Expand Down Expand Up @@ -79,13 +73,7 @@ jobs:
fi
- name: Store the ELF before the change
# Use special flash-analysis target if present. Otherwise fall back to the default target.
run: |
if make list_config_targets | grep ${{ matrix.target }}_flash-analysis; then
cp ./build/${{ matrix.target }}_flash-analysis/*.elf ./before-change.elf
else
cp ./build/${{ matrix.target }}_default/*.elf ./before-change.elf
fi
run: cp ./build/**/*.elf ./before-change.elf

- name: bloaty-action
uses: PX4/[email protected]
Expand Down

0 comments on commit 198d3f9

Please sign in to comment.