From f6073fa5d2fd1a8840f29afb7c679c0e244e5bee Mon Sep 17 00:00:00 2001 From: bimaindrawans <147312348+bimaindrawans@users.noreply.github.com> Date: Tue, 5 Nov 2024 22:50:27 +0700 Subject: [PATCH] Update mikrotik_patch_7.yml Signed-off-by: bimaindrawans <147312348+bimaindrawans@users.noreply.github.com> --- .github/workflows/mikrotik_patch_7.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mikrotik_patch_7.yml b/.github/workflows/mikrotik_patch_7.yml index 5801bf98..839f5e63 100644 --- a/.github/workflows/mikrotik_patch_7.yml +++ b/.github/workflows/mikrotik_patch_7.yml @@ -150,8 +150,8 @@ jobs: elif [ "${{ matrix.arch }}" == "arm64" ]; then sudo wget -nv -O mikrotik.iso https://download.mikrotik.com/routeros/$LATEST_VERSION/mikrotik-$LATEST_VERSION$ARCH.iso elif [ "${{ matrix.arch }}" == "arm" ] || [ "${{ matrix.arch }}" == "mmips" ] || [ "${{ matrix.arch }}" == "mipsbe" ] || [ "${{ matrix.arch }}" == "smips" ] || [ "${{ matrix.arch }}" == "tile" ] || [ "${{ matrix.arch }}" == "ppc" ]; then - sudo wget -nv -O routeros.npk https://download.mikrotik.com/routeros/$LATEST_VERSION/routeros-${{$LATEST_VERSION}}$ARCH.npk - sudo wget -nv -O routeros.zip https://download.mikrotik.com/routeros/$LATEST_VERSION/all_packages$ARCH-${{$LATEST_VERSION}}.zip + sudo wget -nv -O routeros.npk https://download.mikrotik.com/routeros/$LATEST_VERSION/routeros-$LATEST_VERSION$ARCH.npk + sudo wget -nv -O routeros.zip https://download.mikrotik.com/routeros/$LATEST_VERSION/all_packages$ARCH-$LATEST_VERSION.zip fi - name: Patch mikrotik-${{ env.LATEST_VERSION }}${{ env.ARCH }}.iso @@ -159,7 +159,7 @@ jobs: run: | if [ "${{ matrix.arch }}" == "arm" ] || [ "${{ matrix.arch }}" == "mmips" ] || [ "${{ matrix.arch }}" == "mipsbe" ] || [ "${{ matrix.arch }}" == "smips" ] || [ "${{ matrix.arch }}" == "tile" ] || [ "${{ matrix.arch }}" == "ppc" ]; then sudo -E python3 patch.py npk routeros.npk - sudo -E python3 npk.py sign routeros.npk routeros-${{$LATEST_VERSION}}$ARCH.npk + sudo -E python3 npk.py sign routeros.npk routeros-$LATEST_VERSION$ARCH.npk sudo unzip routeros.zip -d tmp NPK_FILES=$(find ./tmp/*.npk) for file in $NPK_FILES; do