File tree Expand file tree Collapse file tree 2 files changed +25
-10
lines changed
Expand file tree Collapse file tree 2 files changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,24 @@ jobs:
2727 - name : Compile with Nuitka
2828 run : nuitka Underbridge.py --assume-yes-for-downloads
2929
30- - name : Build NSIS installer
31- run : makensis wizard.nsi
32-
3330 - name : List Output Files
3431 run : dir App_Release\windows
3532
33+ - name : Zip the output
34+ run : python zipit.py dist/Underbridge.dist ubridge-light.zip
35+
36+ - name : Create GitHub Release and Upload Asset
37+ uses : softprops/action-gh-release@v1
38+ with :
39+ name : " Underbridge-light Release"
40+ tag : ${{ github.ref_name }}
41+ draft : true
42+ assets : |
43+ ubridge-light.zip
44+
3645 - name : Upload to Cloud
3746 run : |
3847 python nc_upload.py ${{ secrets.UBRIDGE_USER }} ${{ secrets.UBRIDGE_PASSWD }} `
3948 https://cloud.raise-uav.com/ `
40- ubridge-light-wizard .exe `
41- App_Release/windows/Ubridge-light-wizard .exe
49+ underbidge .exe `
50+ App_Release/windows/underbridge .exe
Original file line number Diff line number Diff line change 3030 - run : ls dist/
3131
3232 - name : Zip the output
33- run : python zipit.py dist/Underbridge.dist ubridge -light.zip
33+ run : python zipit.py dist/Underbridge.dist underbridge -light.zip
3434
3535 - name : Create GitHub Release and Upload Asset
3636 uses : softprops/action-gh-release@v1
3939 tag : ${{ github.ref_name }}
4040 draft : true
4141 assets : |
42- ubridge-light.zip
43-
44- - name : NC uploader
45- run : python nc_upload.py ${{ secrets.UBRIDGE_USER }} ${{ secrets.UBRIDGE_PASSWD }} https://cloud.raise-uav.com/ ubridge-light.zip App_Release/ubridge-light-linux.zip
42+ underbridge-light.zip
43+
44+ - name : Upload to Server
45+ run : |
46+ packit/ubridge/bin/python nc_upload.py \
47+ ${{ secrets.UBRIDGE_USER }} \
48+ ${{ secrets.UBRIDGE_PASSWD }} \
49+ https://cloud.raise-uav.com/ \
50+ underbridge-light.zip \
51+ App_Release/light/underbridge-light-linux.zip
You can’t perform that action at this time.
0 commit comments