From e87a19f0d51bf04a25f166d0b91212d8609527c0 Mon Sep 17 00:00:00 2001 From: zyb Date: Tue, 18 Jun 2024 18:05:19 +0800 Subject: [PATCH] modified: .github/workflows/mikrotik_patch.yml --- .github/workflows/mikrotik_patch.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mikrotik_patch.yml b/.github/workflows/mikrotik_patch.yml index 459f82e..5ba296e 100644 --- a/.github/workflows/mikrotik_patch.yml +++ b/.github/workflows/mikrotik_patch.yml @@ -83,7 +83,7 @@ jobs: run: | echo $(uname -a) LATEST_VERSION=$(wget -nv -O - ${{ env.LATEST_VERSION_URL }}${{ matrix.channel }} | cut -d ' ' -f1) - echo Latest Stabel Version:$LATEST_VERSION + echo Latest Version:$LATEST_VERSION echo "LATEST_VERSION=${LATEST_VERSION}" >> $GITHUB_ENV - name: Get netinstall-${{ env.LATEST_VERSION }}.zip @@ -95,7 +95,6 @@ jobs: sudo -E python3 patch.py netinstall netinstall.exe sudo zip netinstall-$LATEST_VERSION.zip ./netinstall.exe - - name: Get mikrotik-${{ env.LATEST_VERSION }}.iso run: | sudo wget -nv -O mikrotik-$LATEST_VERSION.iso https://download.mikrotik.com/routeros/$LATEST_VERSION/mikrotik-$LATEST_VERSION.iso @@ -141,7 +140,7 @@ jobs: -eltorito-alt-boot \ -e efiboot.img \ -no-emul-boot \ - -R \ + -R -J \ ./new_iso sudo rm -rf ./new_iso @@ -190,6 +189,7 @@ jobs: name: "MikroTik ${{ env.LATEST_VERSION }}" body: "MikroTik ${{ env.LATEST_VERSION }}" tag_name: ${{ env.LATEST_VERSION }} + make_latest: ${{ matrix.channel == 'stable' }} files: | mikrotik-${{ env.LATEST_VERSION }}.iso install-image-${{ env.LATEST_VERSION }}.zip