File tree Expand file tree Collapse file tree 9 files changed +26
-11
lines changed Expand file tree Collapse file tree 9 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 2828 - name : Upload artifacts
2929 uses : actions/upload-artifact@master
3030 with :
31- name : tonlib -android
31+ name : ton -android-tonlib
3232 path : artifacts
Original file line number Diff line number Diff line change 8383 workflow_conclusion : success
8484 skip_unpack : true
8585
86+ - name : Download Android Tonlib artifacts
87+ uses : dawidd6/action-download-artifact@v2
88+ with :
89+ workflow : build-ton-linux-android-tonlib.yml
90+ path : artifacts
91+ workflow_conclusion : success
92+ skip_unpack : true
93+
8694 - name : Show all artifacts
8795 run : |
8896 tree artifacts
@@ -501,3 +509,11 @@ jobs:
501509 file : artifacts/ton-wasm-binaries.zip
502510 asset_name : ton-wasm-binaries.zip
503511 tag : ${{ steps.tag.outputs.TAG }}
512+
513+ - name : Upload Android Tonlib artifacts
514+ uses : svenstaro/upload-release-action@v2
515+ with :
516+ repo_token : ${{ secrets.GITHUB_TOKEN }}
517+ file : artifacts/ton-android-tonlib.zip
518+ asset_name : ton-android-tonlib.zip
519+ tag : ${{ steps.tag.outputs.TAG }}
Original file line number Diff line number Diff line change @@ -192,8 +192,6 @@ if [ "$with_artifacts" = true ]; then
192192 echo Creating artifacts...
193193 rm -rf artifacts
194194 mkdir artifacts
195- cp crypto/fift/lib artifacts/
196- cp -R crypto/smartcont/ artifacts/
197195 cp build/storage/storage-daemon/storage-daemon artifacts/
198196 cp build/storage/storage-daemon/storage-daemon-cli artifacts/
199197 cp build/blockchain-explorer/blockchain-explorer artifacts/
@@ -213,9 +211,9 @@ if [ "$with_artifacts" = true ]; then
213211 cp build/utils/json2tlo artifacts/
214212 cp build/adnl/adnl-proxy artifacts/
215213 cp build/emulator/libemulator.dylib artifacts/
216- chmod +x artifacts/*
217214 rsync -r crypto/smartcont artifacts/
218215 rsync -r crypto/fift/lib artifacts/
216+ chmod -R +x artifacts/*
219217fi
220218
221219if [ " $with_tests " = true ]; then
Original file line number Diff line number Diff line change @@ -140,9 +140,9 @@ if [ "$with_artifacts" = true ]; then
140140 cp build/utils/json2tlo artifacts/
141141 cp build/adnl/adnl-proxy artifacts/
142142 cp build/emulator/libemulator.dylib artifacts/
143- chmod +x artifacts/*
144- rsync -r crypto/smartcont artifacts/
145- rsync -r crypto/fift/lib artifacts/
143+ cp -R crypto/smartcont artifacts/
144+ cp -R crypto/fift/lib artifacts/
145+ chmod -R +x artifacts/*
146146fi
147147
148148if [ " $with_tests " = true ]; then
Original file line number Diff line number Diff line change @@ -193,8 +193,6 @@ cd ..
193193if [ " $with_artifacts " = true ]; then
194194 rm -rf artifacts
195195 mkdir artifacts
196- cp crypto/fift/lib artifacts/
197- cp -R crypto/smartcont/ artifacts/
198196 mv build/tonlib/libtonlibjson.so.0.5 build/tonlib/libtonlibjson.so
199197 cp build/storage/storage-daemon/storage-daemon build/storage/storage-daemon/storage-daemon-cli \
200198 build/crypto/fift build/crypto/tlbc build/crypto/func build/crypto/create-state build/blockchain-explorer/blockchain-explorer \
@@ -204,9 +202,9 @@ if [ "$with_artifacts" = true ]; then
204202 build/utils/generate-random-id build/utils/json2tlo build/adnl/adnl-proxy build/emulator/libemulator.so \
205203 artifacts
206204 test $? -eq 0 || { echo " Can't copy final binaries" ; exit 1; }
207- chmod +x artifacts/*
208205 cp -R crypto/smartcont artifacts
209206 cp -R crypto/fift/lib artifacts
207+ chmod -R +x artifacts/*
210208fi
211209
212210if [ " $with_tests " = true ]; then
Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ if [ "$with_artifacts" = true ]; then
112112 build/utils/generate-random-id build/utils/json2tlo build/adnl/adnl-proxy build/emulator/libemulator.so \
113113 artifacts
114114 test $? -eq 0 || { echo " Can't copy final binaries" ; exit 1; }
115- chmod +x artifacts/*
116115 cp -R crypto/smartcont artifacts
117116 cp -R crypto/fift/lib artifacts
117+ chmod -R +x artifacts/*
118118fi
119119
120120if [ " $with_tests " = true ]; then
Original file line number Diff line number Diff line change @@ -35,3 +35,4 @@ cp ./result/lib/libtonlibjson.so.0.5 artifacts/libtonlibjson.so
3535cp ./result/lib/libemulator.so artifacts/
3636cp ./result/lib/fift/* artifacts/lib/
3737cp -r ./result/share/ton/smartcont artifacts/
38+ chmod -R +x artifacts
Original file line number Diff line number Diff line change @@ -35,3 +35,4 @@ cp ./result/lib/libtonlibjson.so.0.5 artifacts/libtonlibjson.so
3535cp ./result/lib/libemulator.so artifacts/
3636cp ./result/lib/fift/* artifacts/lib/
3737cp -r ./result/share/ton/smartcont artifacts/
38+ chmod -R +x artifacts
Original file line number Diff line number Diff line change @@ -35,3 +35,4 @@ cp ./result/lib/libtonlibjson.dylib artifacts/
3535cp ./result/lib/libemulator.dylib artifacts/
3636cp ./result/lib/fift/* artifacts/lib/
3737cp -r ./result/share/ton/smartcont artifacts/
38+ chmod -R +x artifacts
You can’t perform that action at this time.
0 commit comments