From 092a5a633e25bb80b4782a3cbcabbc048982218d Mon Sep 17 00:00:00 2001 From: teasiu Date: Thu, 29 Apr 2021 19:18:07 +0800 Subject: [PATCH] update --- .github/workflows/schedule.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index c97d117..66cd34c 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -14,9 +14,9 @@ jobs: - name: Update teasiu-5.0.tazpkg Version run: | - LASTEST_TAG="$( curl -fsSL "http://www.ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg" | md5sum )" + LASTEST_TAG="$( curl -fsSL "http://www.ecoo.top:8083/dl/slitaz/teasiu-5.0.tazpkg" | md5sum | cut -d" " -f1 )" echo "LASTEST_TAG=$LASTEST_TAG" >> ${GITHUB_ENV} - CURRENT_TAG="$( md5sum packages/teasiu-5.0.tazpkg )" + CURRENT_TAG="$( md5sum packages/teasiu-5.0.tazpkg | cut -d" " -f1 )" echo "CURRENT_TAG=$CURRENT_TAG" >> ${GITHUB_ENV} if [ ${CURRENT_TAG} != ${LASTEST_TAG} ] then @@ -24,7 +24,7 @@ jobs: fi - name: Push - if: env.CURRENT_TAG != env.LASTEST_TAG + if: env.CURRENT_TAG != env.LASTEST_TAG && !cancelled() run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]"