You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2023/03/16 09:05:31 UTC
[incubator-opendal] branch cleanup-actions updated: Fix build
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch cleanup-actions
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git
The following commit(s) were added to refs/heads/cleanup-actions by this push:
new 3ab2059d Fix build
3ab2059d is described below
commit 3ab2059dc3d39d9924dd82f2adc0d6ebb0b515e3
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Thu Mar 16 17:05:23 2023 +0800
Fix build
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
.github/actions/setup/action.yaml | 1 +
bindings/nodejs/src/lib.rs | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml
index 99ec4310..200dff2a 100644
--- a/.github/actions/setup/action.yaml
+++ b/.github/actions/setup/action.yaml
@@ -30,6 +30,7 @@ runs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install Build Dependencies
+ if: runner.os == 'Linux'
shell: bash
run: |
sudo apt-get update
diff --git a/bindings/nodejs/src/lib.rs b/bindings/nodejs/src/lib.rs
index ea7016c8..3a84c4d0 100644
--- a/bindings/nodejs/src/lib.rs
+++ b/bindings/nodejs/src/lib.rs
@@ -185,7 +185,6 @@ impl Operator {
self.0.blocking().delete(&path).map_err(format_napi_error)
}
-
/// List given path.
///
/// This function will create a new handle to list entries.