Skip to content

Conversation

@joelguittet
Copy link
Contributor

Remove existing zephyr-sdk directory before extraction, which is useful for self-hosted runners on which the directory remains between executions.

Important note: I'm not sure about Windows runners, I guess the same problem exists, I have added the rm command for all hosts platforms but it is tested only on Linux. If somebody can comment/test on Windows it's appreciated.

Remove existing zephyr-sdk directory before extraction, and the archive
after extraction.
This is useful for self-hosted runners on which the files/directories
remain between executions.

Signed-off-by: Joel Guittet <[email protected]>
@joelguittet joelguittet force-pushed the fix-self-hosted-runners branch from e871f5e to ab7afc4 Compare November 5, 2025 08:30
@fabiobaltieri
Copy link
Member

Hi @joelguittet, there's a built in CI test that runs it on all three platforms, it it passes there it should be fine

@fabiobaltieri fabiobaltieri merged commit 8354324 into zephyrproject-rtos:main Nov 5, 2025
20 checks passed
@joelguittet joelguittet deleted the fix-self-hosted-runners branch November 5, 2025 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants