diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64101b6..49dfed5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,7 +108,7 @@ jobs: uses: actions/checkout@v4 - name: Download all artifacts - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: path: artifacts diff --git a/src/workspaces.rs b/src/workspaces.rs index ada746b..f9e35be 100644 --- a/src/workspaces.rs +++ b/src/workspaces.rs @@ -32,10 +32,7 @@ pub fn discover_workspaces(root: &Path, manifest: &Manifest) -> Result p, - Err(e) => return Err(e.into()), - }; + let path = entry?; let pkg_dir = if path.is_file() { if path.file_name().map(|n| n == "package.json").unwrap_or(false) { path.parent().map(Path::to_path_buf).unwrap_or_else(|| path.clone())