File tree Expand file tree Collapse file tree 5 files changed +4155
-1172
lines changed Expand file tree Collapse file tree 5 files changed +4155
-1172
lines changed Original file line number Diff line number Diff line change 1+ 5.2.0
Original file line number Diff line number Diff line change 1+ name : Bazel CLI Build (macOS)
2+
3+ on :
4+ push :
5+ paths-ignore :
6+ - ' doc/**'
7+ - ' example/**'
8+ - ' **/*.md'
9+ pull_request :
10+ paths-ignore :
11+ - ' doc/**'
12+ - ' example/**'
13+ - ' **/*.md'
14+ workflow_dispatch :
15+
16+
17+ jobs :
18+ build-macos :
19+ runs-on : macos-latest
20+ steps :
21+ - name : Checkout repository
22+ uses : actions/checkout@v4
23+ with :
24+ submodules : true
25+ - name : Install python3
26+ run : brew install python3
27+ - name : Set up Bazel
28+ uses :
bazel-contrib/[email protected] 29+ with :
30+ bazelisk-cache : true
31+ disk-cache : ${{ github.workflow }}
32+ repository-cache : true
33+ - name : Build All
34+ run : bazel build //...
35+ - name : Upload sparrow-cli.tar.gz artifact
36+ uses : actions/upload-artifact@v4
37+ with :
38+ name : sparrow-cli
39+ path : bazel-bin/sparrow-cli.tar.gz
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ genrule(
5252
5353 cd language/arkts/extractor
5454
55- $$NPM_PATH i --registry https://registry.antgroup-inc.cn
55+ $$NPM_PATH i
5656 cp -rf $$THIRD_TYPESCIRPT_PATH ./node_modules/
5757 $$NPM_PATH run pkg
5858 mv coref-arkts-src-extractor $$OUT_PATH
You can’t perform that action at this time.
0 commit comments