Update linux-3.16.55.tazpkg.yml

This commit is contained in:
神雕 2022-02-16 01:19:11 +08:00 committed by GitHub
parent 2d60c417f7
commit 480284798f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -14,13 +14,13 @@ jobs:
- name: Update linux-3.16.55.tazpkg Version
run: |
LASTEST_TAG="$( curl -fsSL "http://www.ecoo.top:8083/dl/slitaz/linux-3.16.55.tazpkg" | md5sum | cut -d" " -f1 )"
LASTEST_TAG="$( curl -fsSL "https://slitaz.cn/dl/linux-3.16.55.tazpkg" | md5sum | cut -d" " -f1 )"
echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV}
CURRENT_TAG="$( md5sum packages/linux-3.16.55.tazpkg | cut -d" " -f1 )"
echo "CURRENT_TAG=$CURRENT_TAG" >> ${GITHUB_ENV}
if [ ${CURRENT_TAG} != ${LASTEST_TAG} ]
then
wget -O ./packages/linux-3.16.55.tazpkg http://www.ecoo.top:8083/dl/slitaz/linux-3.16.55.tazpkg
wget -O ./packages/linux-3.16.55.tazpkg https://slitaz.cn/dl/linux-3.16.55.tazpkg
fi
- name: Push