From f993d41a7ae00d25ea21626bbb53c4c383569b67 Mon Sep 17 00:00:00 2001 From: zyb Date: Sun, 14 Jul 2024 15:48:28 +0800 Subject: [PATCH] modified: .github/workflows/mikrotik_patch.yml --- .github/workflows/mikrotik_patch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mikrotik_patch.yml b/.github/workflows/mikrotik_patch.yml index f33c440..e4f53f4 100644 --- a/.github/workflows/mikrotik_patch.yml +++ b/.github/workflows/mikrotik_patch.yml @@ -50,11 +50,11 @@ jobs: _LATEST_VERSION=$(wget -nv -O - https://${{ env.CUSTOM_UPGRADE_URL }}/routeros/NEWESTa7.${{ matrix.channel }} | cut -d ' ' -f1) if [ "$_LATEST_VERSION" == "$LATEST_VERSION" ]; then echo "No new version found" - echo "::set-output name=has_new_version::false" + echo "has_new_version=false" >> $GITHUB_OUTPUT exit 0 fi fi - echo "::set-output name=has_new_version::true" + echo "has_new_version=true" >> $GITHUB_OUTPUT BUILD_TIME=$(date +"%s") echo Build Time:$BUILD_TIME wget -nv -O CHANGELOG https://${{ env.MIKRO_UPGRADE_URL }}/routeros/$LATEST_VERSION/CHANGELOG