File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -15,14 +15,16 @@ jobs:
1515 name : Build
1616 command : mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=../sdk/ .. && make && make install && cd ..
1717 - run :
18- name : Zip the SDK
19- command : cd sdk && zip -r ../sdk.zip . && cd ..
20- - store_artifacts :
21- path : sdk.zip
22- destination : mod_sdk.zip
18+ name : Pack the SDK and modloader
19+ command : |
20+ mkdir artifacts && cd sdk &&
21+ zip -r ../artifacts/mod_sdk.zip . && cp lib/libserver_modloader.so ../artifacts && cd ..
22+ - persist_to_workspace :
23+ root : artifacts/
24+ paths : " .*"
2325 - store_artifacts :
24- path : sdk/lib/libserver_modloader.so
25- destination : libserver_modloader.so
26+ path : artifacts/
27+ destination : /
2628 publish-github-release :
2729 docker :
2830 - image : cibuilds/github:0.10
You can’t perform that action at this time.
0 commit comments