quark根据文件名判断是否是视频
This commit is contained in:
parent
537a84cc5b
commit
2e95dbcc9c
|
|
@ -10,25 +10,47 @@ jobs:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 21
|
- name: Set up JDK 21
|
||||||
uses: actions/setup-java@v5
|
uses: actions/setup-java@v5
|
||||||
with:
|
with:
|
||||||
java-version: '21'
|
java-version: '21'
|
||||||
distribution: 'jetbrains'
|
distribution: 'jetbrains'
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Grant execute permission to gradlew
|
- name: Grant execute permission to gradlew
|
||||||
run: chmod +x ./gradlew
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew app:buildCustomSpiderJar
|
run: ./gradlew app:buildCustomSpiderJar
|
||||||
|
|
||||||
|
|
||||||
- name: Add & Commit
|
- name: Add & Commit
|
||||||
uses: EndBug/add-and-commit@v9.1.4
|
uses: EndBug/add-and-commit@v9.1.4
|
||||||
with:
|
with:
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
message: 'update spider jar and json'
|
message: 'update spider jar and json'
|
||||||
add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5','./json/index.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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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": [
|
"lives": [
|
||||||
{
|
{
|
||||||
"name": "电视直播",
|
"name": "电视直播",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue