Skip to content

Commit c3295d6

Browse files
authored
CI: use bash for output-sizs-job
Firmware build works. But the build size job afterwards fails. The firmware build uses `shell: bash --noprofile --norc -e -o pipefail {0}` as shell. The size job uses `shell: sh -e {0}` The variable substitution I introduced are bash features. So they don't work with sh. Update the size job to use `bash` instead of `sh` as shell
1 parent 6f2a661 commit c3295d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
/opt/build.sh all
4545
- name: Output build size
4646
id: output-sizes
47+
shell: bash
4748
run: |
4849
. /opt/build.sh
4950
.github/workflows/getSize.sh "$BUILD_DIR"/src/pinetime-app-*.out >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)