Skip to content

Commit 1bb85a5

Browse files
committed
- Modifed upload 2
1 parent b2e5a23 commit 1bb85a5

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/build-windows.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: dir dist
3535

3636
- name: Zip the output
37-
run: python zipit.py dist/Underbridge.dist underbridge-light-win.zip
37+
run: python zipit.py dist/Underbridge-light.exe underbridge-light-win.zip
3838

3939
- name: Create GitHub Release and Upload Asset
4040
uses: softprops/action-gh-release@v1
@@ -47,7 +47,4 @@ jobs:
4747

4848
- name: Upload to Cloud2
4949
run: |
50-
python nc_upload.py ${{ secrets.UBRIDGE_USER }} ${{ secrets.UBRIDGE_PASSWD }} `
51-
https://cloud.raise-uav.com/ `
52-
underbridge-light-win.zip `
53-
App_Release/light/underbridge-light-win.zip
50+
python nc_upload.py ${{ secrets.UBRIDGE_USER }} ${{ secrets.UBRIDGE_PASSWD }} https://cloud.raise-uav.com/ underbridge-light-win.zip App_Release/light/underbridge-light-win.zip

.github/workflows/build_linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: ls dist/
4141

4242
- name: Zip the output
43-
run: python zipit.py underbridge_lin underbridge-light-linux.zip
43+
run: python zipit.py dist/Underbridge_light underbridge-light-linux.zip
4444

4545
- name: Create GitHub Release and Upload Asset
4646
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)