Skip to content

Commit 82283c2

Browse files
committed
ftp changes
1 parent 5c4de79 commit 82283c2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/generator-android.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -564,13 +564,13 @@ jobs:
564564
# *.jks
565565
# *aligned.apk
566566
- name: Upload to FTP
567-
uses: genietim/ftp-action@releases/v2
568-
with:
569-
host: ${{ secrets.GEN_FTP_SERVER }}
570-
user: ${{ secrets.GEN_FTP_USER }}
571-
password: ${{ secrets.GEN_FTP_PASSWORD }}
572-
localDir: "./signed-apk/"
573-
remoteDir: "/root/rdgen/exe/${{ env.UUIDFOLDER }}/"
567+
shell: bash
568+
run: |
569+
ftp -n -v "${{ secrets.GEN_FTP_USER }}" "${{ secrets.GEN_FTP_PASSWORD }}" ${{ secrets.GEN_FTP_SERVER }} <<EOF
570+
cd /root/rdgen/exe/${{ env.UUIDFOLDER }}/
571+
put ./signed-apk/${{ inputs.filename }}-${{ matrix.job.arch }}.apk
572+
quit
573+
EOF
574574
575575
- name: Report Status
576576
uses: fjogeleit/http-request-action@v1

0 commit comments

Comments
 (0)