Skip to content

Commit

Permalink
update 测试插件workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yajuhua committed May 14, 2024
1 parent 37996b9 commit c075232
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/plugin-status-douyin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: douyin
on:
schedule:
# 每天凌晨执行,UTC 时间,这里是凌晨12点
- cron: '0 0 * * *'

jobs:
test:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

- name: Install yt-dlp
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install yt-dlp
yt-dlp --version
- name: douyin
run: java -jar test/test-plugin-0.1-jar-with-dependencies.jar https://v.douyin.com/UdEX4jw/
27 changes: 27 additions & 0 deletions .github/workflows/plugin-status-ganjing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ganjing
on:
schedule:
# 每天凌晨执行,UTC 时间,这里是凌晨12点
- cron: '0 0 * * *'

jobs:
test:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

- name: Install yt-dlp
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install yt-dlp
yt-dlp --version
- name: ganjing
run: java -jar test/test-plugin-0.1-jar-with-dependencies.jar https://www.ganjingworld.com/zh-CN/channel/1fjrhcmij2n43KxCh1HPGLLjB1c10c?tab=videos
27 changes: 27 additions & 0 deletions .github/workflows/plugin-status-girigirilove.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: girigirilove
on:
schedule:
# 每天凌晨执行,UTC 时间,这里是凌晨12点
- cron: '0 0 * * *'

jobs:
test:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

- name: Install yt-dlp
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install yt-dlp
yt-dlp --version
- name: girigirilove
run: java -jar test/test-plugin-0.1-jar-with-dependencies.jar https://anime.girigirilove.com/GV25746/
6 changes: 5 additions & 1 deletion .github/workflows/plugin-status-ntdm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: ntdm
on: workflow_dispatch

on:
schedule:
# 每天凌晨执行,UTC 时间,这里是凌晨12点
- cron: '0 0 * * *'

jobs:
test:
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/plugin-status-vimeo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: vimeo
on:
schedule:
# 每天凌晨执行,UTC 时间,这里是凌晨12点
- cron: '0 0 * * *'

jobs:
test:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'

- name: Install yt-dlp
run: |
sudo apt-get update
sudo apt-get install -y python3-pip
pip3 install yt-dlp
yt-dlp --version
- name: vimeo
run: java -jar test/test-plugin-0.1-jar-with-dependencies.jar https://vimeo.com/propublica
5 changes: 4 additions & 1 deletion .github/workflows/plugin-status-youtube.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: youtube
on: workflow_dispatch
on:
schedule:
# 每天凌晨执行,UTC 时间,这里是凌晨12点
- cron: '0 0 * * *'

jobs:
test:
Expand Down

0 comments on commit c075232

Please sign in to comment.