Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

ci: re-enable nx cloud (#9132)

Brooooooklyn8f29a58508cd
diff --git a/.github/actions/build-rust/action.yml b/.github/actions/build-rust/action.yml
index 852745be76..8e0aeb02ca 100644
--- a/.github/actions/build-rust/action.yml
+++ b/.github/actions/build-rust/action.yml
@@ -49,7 +49,7 @@ runs:
- name: Build
shell: bash
run: |
- yarn workspace ${{ inputs.package }} build --target ${{ inputs.target }} --use-napi-cross
+ yarn workspace ${{ inputs.package }} nx build ${{ inputs.package }} --verbose -- --target ${{ inputs.target }} --use-napi-cross
env:
NX_CLOUD_ACCESS_TOKEN: ${{ inputs.nx_token }}
DEBUG: 'napi:*'
diff --git a/packages/backend/native/package.json b/packages/backend/native/package.json
index c865f26103..eb8de91286 100644
--- a/packages/backend/native/package.json
+++ b/packages/backend/native/package.json
@@ -36,7 +36,6 @@
"@napi-rs/cli": "3.0.0-alpha.64",
"lib0": "^0.2.93",
"nx": "^20.0.3",
- "nx-cloud": "^19.1.0",
"tiktoken": "^1.0.15",
"tinybench": "^3.0.0",
"yjs": "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch"
diff --git a/packages/backend/native/project.json b/packages/backend/native/project.json
index 5f2cf6111e..f583f6c623 100644
--- a/packages/backend/native/project.json
+++ b/packages/backend/native/project.json
@@ -12,10 +12,6 @@
"script": "build"
},
"inputs": [
- { "fileset": "{workspaceRoot}/rust-toolchain.toml" },
- { "fileset": "{workspaceRoot}/Cargo.lock" },
- { "fileset": "{workspaceRoot}/packages/backend/native/**/*.rs" },
- { "fileset": "{workspaceRoot}/packages/backend/native/Cargo.toml" },
{
"runtime": "rustc --version"
},
diff --git a/yarn.lock b/yarn.lock
index 3e3a1c62cd..ed897e614f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -765,7 +765,6 @@ __metadata:
"@napi-rs/cli": "npm:3.0.0-alpha.64"
lib0: "npm:^0.2.93"
nx: "npm:^20.0.3"
- nx-cloud: "npm:^19.1.0"
tiktoken: "npm:^1.0.15"
tinybench: "npm:^3.0.0"
yjs: "patch:yjs@npm%3A13.6.18#~/.yarn/patches/yjs-npm-13.6.18-ad0d5f7c43.patch"