Commit b5a1783 1 parent 980aac6 commit b5a1783 Copy full SHA for b5a1783
File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 79
79
cd examples/BasicMinimalC++/src
80
80
qmake BasicMinimalC++.pro -spec wasm-emscripten
81
81
make -j
82
+
83
+ - name : Copy the built WASM to the build/wasm folder
84
+ run : |
85
+ mkdir -p ../build/wasm
86
+ cp *.wasm ../build/wasm
87
+ cp *.html ../build/wasm
88
+ cp *.js ../build/wasm
89
+ cp *.svg ../build/wasm
90
+
91
+ - name : Upload the zipped wasm folder
92
+ uses : actions/upload-artifact@v4
93
+ with :
94
+ name : wasm
95
+ path : examples/BasicMinimalC++/build/wasm
96
+ compression-level : 0 # no compression
97
+ if-no-files-found : error
98
+
99
+ - name : Push the built wasm to the webapp branch
100
+ uses : s0/git-publish-subdir-action@develop
101
+ env :
102
+ GITHUB_TOKEN : ${{ secrets.API_TOKEN_GITHUB }}
103
+ REPO : self
104
+ BRANCH : webapp
105
+ FOLDER : examples/BasicMinimalC++/build/wasm
You can’t perform that action at this time.
0 commit comments