From 2e95dbcc9cfd302a43fd1d2a599c71e49cf98c54 Mon Sep 17 00:00:00 2001 From: lushunming <1357197829@qq.com> Date: Tue, 9 Dec 2025 11:44:55 +0800 Subject: [PATCH] =?UTF-8?q?quark=E6=A0=B9=E6=8D=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=8D=E5=88=A4=E6=96=AD=E6=98=AF=E5=90=A6=E6=98=AF=E8=A7=86?= =?UTF-8?q?=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/genJar.yml | 60 ++++++++++++++++++++++++------------ json/index.json | 2 +- 2 files changed, 42 insertions(+), 20 deletions(-) diff --git a/.github/workflows/genJar.yml b/.github/workflows/genJar.yml index cf58e132..b09baf98 100644 --- a/.github/workflows/genJar.yml +++ b/.github/workflows/genJar.yml @@ -10,25 +10,47 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Set up JDK 21 - uses: actions/setup-java@v5 - with: - java-version: '21' - distribution: 'jetbrains' - cache: gradle - - - name: Grant execute permission to gradlew - run: chmod +x ./gradlew + - uses: actions/checkout@v4 + - name: Set up JDK 21 + uses: actions/setup-java@v5 + with: + java-version: '21' + distribution: 'jetbrains' + cache: gradle - - name: Build with Gradle - run: ./gradlew app:buildCustomSpiderJar - + - name: Grant execute permission to gradlew + run: chmod +x ./gradlew - - name: Add & Commit - uses: EndBug/add-and-commit@v9.1.4 - with: - default_author: github_actions - message: 'update spider jar and json' - add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5','./json/index.json']" + - name: Build with Gradle + run: ./gradlew app:buildCustomSpiderJar + + + - name: Add & Commit + uses: EndBug/add-and-commit@v9.1.4 + with: + default_author: github_actions + message: 'update spider jar and json' + add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5','./json/index.json']" + + - name: FTP Deploy Action via lftp (FTP, SFTP, FTPS) + uses: pontago/lftp-deploy-action@v1.0.1 + with: + # Sever Hostname or IP + host: ftpupload.net + # Login Username + username: mseet_40633048 + # Login Password + password: DL0NzRdjf1Wv + # Default port are FTP(21), SFTP(22). + port: # 21 + # Transfer protocol (ftp, ftps, sftp) + protocol: # optional, default is ftp + # If you want to use SSH Private Key, protocol parameter should be sftp. + ssh_private_key: # optional, default is + # If you want to no SSL verification, false. (FTPS) + verify_cert: # optional, default is true + # Upload source directory. + local_dir: ./jar,./json + + remote_dir: htdocs diff --git a/json/index.json b/json/index.json index 8beaa1e9..5bdfa519 100644 --- a/json/index.json +++ b/json/index.json @@ -1,5 +1,5 @@ { - "spider": "https://andoridspidermt.netlify.app/jar/custom_spider.jar;md5;eb51dfdf03b20045dd4949b283add48b", + "spider": "http://androidcatvodspidermt.hstn.me/jar/custom_spider.jar;md5;eb51dfdf03b20045dd4949b283add48b", "lives": [ { "name": "电视直播",