Skip to content

Commit

Permalink
build-gg*: force build of images, even without a change
Browse files Browse the repository at this point in the history
Otherwise artifacts get not generated if a previous build did build them.
  • Loading branch information
thomas-roos committed Dec 16, 2024
1 parent e362dcb commit a75f1ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-gg-lite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS SSTATE_DIR DL_DIR" && \
export DEVICE=${{ matrix.device }} && \
export IMAGE=${{ matrix.image }} && \
bitbake $IMAGE && \
[[ "${{ matrix.image }}" == "aws-iot-greengrass-lite-demo-image" ]] && bitbake aws-iot-greengrass-lite-demo-bundle || true && \
bitbake $IMAGE -f && \
[[ "${{ matrix.image }}" == "aws-iot-greengrass-lite-demo-image" ]] && bitbake aws-iot-greengrass-lite-demo-bundle -f || true && \
bitbake-getvar -q --value -r greengrass-lite SRCREV > GREENGRASS_SRCREV && \
bitbake-getvar -q --value -r greengrass-lite PV > GREENGRASS_PV '
- name: fetch sources and build from pre-fetched sources without network
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-gg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS SSTATE_DIR DL_DIR" && \
export DEVICE=${{ matrix.device }} && \
export IMAGE=${{ matrix.image }} && \
bitbake $IMAGE && \
bitbake $IMAGE -f && \
bitbake-getvar -q --value -r greengrass-bin PV > GREENGRASS_PV '
- name: fetch sources and build from pre-fetched sources without network
if: inputs.upload-source-zip
Expand Down

0 comments on commit a75f1ea

Please sign in to comment.