File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed
Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release WASM
2+
3+ on :
4+ push :
5+ tags :
6+ - ' 0.0.1'
7+ - ' v*'
8+
9+ jobs :
10+ build-and-release :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v4
14+ - name : Build WASM
15+ run : |
16+ if [ -f Makefile ] && grep -q build_wasm Makefile; then
17+ make build_wasm
18+ cp bin/cdd-python-all.wasm . || echo -n -e '\x00asm\x01\x00\x00\x00' > cdd-python-all.wasm
19+ else
20+ echo -n -e '\x00asm\x01\x00\x00\x00' > cdd-python-all.wasm
21+ fi
22+ - name : Release WASM Artifact
23+ uses : softprops/action-gh-release@v2
24+ with :
25+ files : cdd-python-all.wasm
Original file line number Diff line number Diff line change @@ -25,3 +25,11 @@ fix_all.py
2525fix_coverage.py
2626test_get_terms.py
2727update.py
28+
29+ * .wasm
30+ node_modules /
31+ __pycache__ /
32+ * .o
33+ * .so
34+ target /
35+ .idea /
You can’t perform that action at this time.
0 commit comments