Skip to content

Commit 4047474

Browse files
committed
change ftp upload
1 parent cf5e8f6 commit 4047474

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

.github/workflows/generator-android.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -551,18 +551,26 @@ jobs:
551551
# files: |
552552
# signed-apk/rustdesk-${{ env.VERSION }}-${{ matrix.job.arch }}.apk
553553

554+
# - name: Upload to FTP
555+
# uses: SamKirkland/FTP-Deploy-Action@v4.3.5
556+
# with:
557+
# server: ${{ secrets.GEN_FTP_SERVER }}
558+
# username: ${{ secrets.GEN_FTP_USER }}
559+
# password: ${{ secrets.GEN_FTP_PASSWORD }}
560+
# local-dir: ./signed-apk/
561+
# server-dir: /root/rdgen/exe/${{ env.UUIDFOLDER }}/
562+
# exclude: |
563+
# *.idsig
564+
# *.jks
565+
# *aligned.apk
554566
- name: Upload to FTP
555-
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
567+
uses: genietim/ftp-action@releases/v4
556568
with:
557-
server: ${{ secrets.GEN_FTP_SERVER }}
558-
username: ${{ secrets.GEN_FTP_USER }}
569+
host: ${{ secrets.GEN_FTP_SERVER }}
570+
user: ${{ secrets.GEN_FTP_USER }}
559571
password: ${{ secrets.GEN_FTP_PASSWORD }}
560-
local-dir: ./signed-apk/
561-
server-dir: /root/rdgen/exe/${{ env.UUIDFOLDER }}/
562-
exclude: |
563-
*.idsig
564-
*.jks
565-
*aligned.apk
572+
localDir: "./signed-apk/"
573+
remoteDir: "/root/rdgen/exe/${{ env.UUIDFOLDER }}/"
566574

567575
- name: Report Status
568576
uses: fjogeleit/http-request-action@v1

0 commit comments

Comments
 (0)