From aaf997c20dc35787a5166e9898a4ba5532d431a8 Mon Sep 17 00:00:00 2001 From: elseif Date: Sat, 25 Jan 2025 03:06:18 +0800 Subject: [PATCH] Update mikrotik_patch_7.yml Signed-off-by: elseif --- .github/workflows/mikrotik_patch_7.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mikrotik_patch_7.yml b/.github/workflows/mikrotik_patch_7.yml index 1201132..0f135df 100644 --- a/.github/workflows/mikrotik_patch_7.yml +++ b/.github/workflows/mikrotik_patch_7.yml @@ -85,12 +85,11 @@ jobs: ARCH='-arm64' echo "ARCH=$ARCH" >> $GITHUB_ENV fi - sudo apt-get update > /dev/null - echo "{\"arch\": \"${{ matrix.arch }}\", \"channel\": \"${{ matrix.channel }}\", \"latest_version\": \"$LATEST_VERSION\",\"build_time\": \"$BUILD_TIME\"}" > latest_version_${{ matrix.arch }}_${{ matrix.channel }}.json - echo "has_new_version=false" >> $GITHUB_OUTPUT + sudo apt-get update > /dev/null - name: Upload artifacts + if: steps.get_latest.outputs.has_new_version == 'true' uses: actions/upload-artifact@v4 with: name: latest_version_${{ matrix.arch }}_${{ matrix.channel }}