Skip to content

Commit e88f4bc

Browse files
committed
workflows: fix name of build tarball for RB1
RB1 uses flash-emmc.tar.gz. So far test.yml had flash-ufs.tar.gz hardcoded. This patch adds support for chaning the tarball name depending on the board type. Signed-off-by: Milosz Wasilewski <[email protected]>
1 parent 97040b1 commit e88f4bc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ jobs:
5757
DEVICE_TYPE_PATH="${FIND_PATH%/*}"
5858
DEVICE_TYPE="${DEVICE_TYPE_PATH#*/}"
5959
BUILD_FILE_NAME="flash-ufs.tar.gz"
60+
case "${TARGET}" in
61+
*rb1* )
62+
BUILD_FILE_NAME="flash-emmc.tar.gz"
63+
;;
64+
esac
6065
BUILD_DOWNLOAD_URL="${{inputs.url}}/${BUILD_FILE_NAME}"
6166
sed -i "s|{{DEVICE_TYPE}}|${DEVICE_TYPE}|g" "${{ matrix.target }}"
6267
sed -i "s|{{GITHUB_SHA}}|${GITHUB_SHA}|g" "${{ matrix.target }}"

0 commit comments

Comments
 (0)