upgrade dependencies & builds
This commit is contained in:
6
.github/workflows/update-yt-dlp.yml
vendored
6
.github/workflows/update-yt-dlp.yml
vendored
@@ -10,12 +10,12 @@ jobs:
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
token: ${{ secrets.AUTOUPDATE_PAT }}
|
||||
-
|
||||
name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.8'
|
||||
-
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
pipenv sync
|
||||
VER=`pipenv run pip list -o | awk '$1 == "yt-dlp" {print $3}'`
|
||||
if [ -n "$VER" ]; then
|
||||
pipenv update --selective-upgrade yt-dlp
|
||||
pipenv update yt-dlp
|
||||
git config --global user.email "updater@metube"
|
||||
git config --global user.name "AutoUpdater"
|
||||
git commit -m 'upgraded yt-dlp' Pipfile.lock
|
||||
|
||||
Reference in New Issue
Block a user