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
This commit is contained in:
NeroBurner 2025-05-27 23:26:43 +02:00 committed by GitHub
parent 6f2a661a36
commit c3295d6d2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,6 +44,7 @@ jobs:
/opt/build.sh all /opt/build.sh all
- name: Output build size - name: Output build size
id: output-sizes id: output-sizes
shell: bash
run: | run: |
. /opt/build.sh . /opt/build.sh
.github/workflows/getSize.sh "$BUILD_DIR"/src/pinetime-app-*.out >> $GITHUB_OUTPUT .github/workflows/getSize.sh "$BUILD_DIR"/src/pinetime-app-*.out >> $GITHUB_OUTPUT