update
This commit is contained in:
parent
5e8b52fc89
commit
092a5a633e
|
@ -14,9 +14,9 @@ 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 )"
|
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}
|
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}
|
echo "CURRENT_TAG=$CURRENT_TAG" >> ${GITHUB_ENV}
|
||||||
if [ ${CURRENT_TAG} != ${LASTEST_TAG} ]
|
if [ ${CURRENT_TAG} != ${LASTEST_TAG} ]
|
||||||
then
|
then
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
if: env.CURRENT_TAG != env.LASTEST_TAG
|
if: env.CURRENT_TAG != env.LASTEST_TAG && !cancelled()
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
|
|
Loading…
Reference in New Issue