Skip to content

Commit

Permalink
Seperate script/server method into different jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Brainicism committed Sep 15, 2024
1 parent 6d7e2eb commit 5d4f212
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: cd server && npx prettier --check 'src/**/*.{js,ts}'

script-method:
name: Test plugin
name: Test plugin (script method)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -59,6 +59,18 @@ jobs:
BgUtilScriptPot was not invoked"
exit 1
fi
server-method:
name: Test plugin (server method)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download yt-dlp
run: curl -L https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/yt-dlp -o yt-dlp && chmod +x ./yt-dlp
- name: Install plugin
run: |
mkdir ~/yt-dlp-plugins && curl -L "https://github.com/coletdjnz/yt-dlp-get-pot/releases/download/v0.1.1/yt-dlp-get-pot.zip" -o ~/yt-dlp-plugins/yt-dlp-get-pot.zip
cp -aT plugin/ ~/yt-dlp-plugins/bgutil-ytdlp-pot-provider/
- name: Build Docker image
uses: docker/build-push-action@v6
with:
Expand Down

0 comments on commit 5d4f212

Please sign in to comment.