Update teasiu-5.0.tazpkg.yml
This commit is contained in:
parent
3e0a0c6db4
commit
d92ab0faae
|
@ -14,13 +14,13 @@ jobs:
|
||||||
|
|
||||||
- name: Update teasiu-5.0.tazpkg Version
|
- name: Update teasiu-5.0.tazpkg Version
|
||||||
run: |
|
run: |
|
||||||
LASTEST_TAG="$( curl -fsSL "http://www.ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg" | md5sum | cut -d" " -f1 )"
|
LASTEST_TAG="$( curl -fsSL "https://slitaz.cn/dl/teasiu-5.0.tazpkg" | md5sum | cut -d" " -f1 )"
|
||||||
echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV}
|
echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV}
|
||||||
CURRENT_TAG="$( md5sum packages/teasiu-5.0.tazpkg | cut -d" " -f1 )"
|
CURRENT_TAG="$( md5sum packages/teasiu-5.0.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/teasiu-5.0.tazpkg http://www.ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg
|
wget -O ./packages/teasiu-5.0.tazpkg https://slitaz.cn/dl/teasiu-5.0.tazpkg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
|
|
Loading…
Reference in New Issue