This commit is contained in:
teasiu 2021-04-29 19:02:39 +08:00
parent c4c8103ac3
commit 8b6ff633a9
1 changed files with 2 additions and 2 deletions

View File

@ -16,11 +16,11 @@ jobs:
run: | run: |
LASTEST_TAG="$( curl -sL "http://www.ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg" | md5sum )" LASTEST_TAG="$( curl -sL "http://www.ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg" | md5sum )"
echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV} echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV}
CURRENT_TAG="$( curl -sL "packages/teasiu-5.0.tazpkg" | md5sum )" CURRENT_TAG="$( curl -sL "./packages/teasiu-5.0.tazpkg" | md5sum )"
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 http://www.ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg
fi fi
- name: Push - name: Push