CI: build: skip sdk adapt to external toolchain on cache hit
authorChristian Marangi <ansuelsmth@gmail.com>
Wed, 7 Dec 2022 17:09:18 +0000 (18:09 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 7 Dec 2022 17:17:46 +0000 (18:17 +0100)
commit385f78780cbc9f65d0944d4d16b6a9190ae19e0d
treeb6f246536a5ef09540affd696c5e98ff5b32799b
parent8be50c369bbf12763d88e36f9945dce54b432975
CI: build: skip sdk adapt to external toolchain on cache hit

On cache hit, skip sdk adapt to external toolchain. This is needed because we
cache the already extracted sdk and that is already adapted to be used
as external toolchain.

Rerunning the adap step will result in the test to fail for missing file
as the file are already got wrapped to the external toolchain format.

Fixes: 42f0ab028e2e ("CI: build: fix use of sdk as toolchain")
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 99eaedfe3966b1ca812e8a962197cf91286247f7)
.github/workflows/build.yml