From bcdb8ca7415dcaaf6a5af7a7a50e29c5acd6c161 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 11 Aug 2023 20:09:31 +0200 Subject: [PATCH] fix(ci): needed to include examples as well Signed-off-by: kjuulh --- ci/src/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ci/src/main.rs b/ci/src/main.rs index 6df4cbb..d10ef33 100644 --- a/ci/src/main.rs +++ b/ci/src/main.rs @@ -261,6 +261,13 @@ pub async fn get_rust_skeleton_files( } } + let mut dirs = tokio::fs::read_dir("examples").await?; + while let Some(entry) = dirs.next_entry().await? { + if entry.metadata().await?.is_dir() { + rust_crates.push(entry.path()) + } + } + fn create_skeleton_files( directory: dagger_sdk::Directory, path: &Path,