Update linux64-3.16.55.tazpkg.yml

This commit is contained in:
神雕 2022-02-16 01:20:06 +08:00 committed by GitHub
parent 480284798f
commit 3e0a0c6db4
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 linux64-3.16.55.tazpkg Version - name: Update linux64-3.16.55.tazpkg Version
run: | run: |
LASTEST_TAG="$( curl -fsSL "http://www.ecoo.top:8083/dl/slitaz/linux64-3.16.55.tazpkg" | md5sum | cut -d" " -f1 )" LASTEST_TAG="$( curl -fsSL "https://slitaz.cn/dl/linux64-3.16.55.tazpkg" | md5sum | cut -d" " -f1 )"
echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV} echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV}
CURRENT_TAG="$( md5sum packages/linux64-3.16.55.tazpkg | cut -d" " -f1 )" CURRENT_TAG="$( md5sum packages/linux64-3.16.55.tazpkg | cut -d" " -f1 )"
echo "CURRENT_TAG=$CURRENT_TAG" >> ${GITHUB_ENV} echo "CURRENT_TAG=$CURRENT_TAG" >> ${GITHUB_ENV}
if [ ${CURRENT_TAG} != ${LASTEST_TAG} ] if [ ${CURRENT_TAG} != ${LASTEST_TAG} ]
then then
wget -O ./packages/linux64-3.16.55.tazpkg http://www.ecoo.top:8083/dl/slitaz/linux64-3.16.55.tazpkg wget -O ./packages/linux64-3.16.55.tazpkg https://slitaz.cn/dl/linux64-3.16.55.tazpkg
fi fi
- name: Push - name: Push