mirror of
https://github.com/elseif/MikroTikPatch.git
synced 2025-01-23 13:35:09 +03:00
modified: .github/workflows/mikrotik_patch.yml
This commit is contained in:
parent
9aa1a10a03
commit
e87a19f0d5
6
.github/workflows/mikrotik_patch.yml
vendored
6
.github/workflows/mikrotik_patch.yml
vendored
@ -83,7 +83,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo $(uname -a)
|
echo $(uname -a)
|
||||||
LATEST_VERSION=$(wget -nv -O - ${{ env.LATEST_VERSION_URL }}${{ matrix.channel }} | cut -d ' ' -f1)
|
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
|
echo "LATEST_VERSION=${LATEST_VERSION}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Get netinstall-${{ env.LATEST_VERSION }}.zip
|
- name: Get netinstall-${{ env.LATEST_VERSION }}.zip
|
||||||
@ -95,7 +95,6 @@ jobs:
|
|||||||
sudo -E python3 patch.py netinstall netinstall.exe
|
sudo -E python3 patch.py netinstall netinstall.exe
|
||||||
sudo zip netinstall-$LATEST_VERSION.zip ./netinstall.exe
|
sudo zip netinstall-$LATEST_VERSION.zip ./netinstall.exe
|
||||||
|
|
||||||
|
|
||||||
- name: Get mikrotik-${{ env.LATEST_VERSION }}.iso
|
- name: Get mikrotik-${{ env.LATEST_VERSION }}.iso
|
||||||
run: |
|
run: |
|
||||||
sudo wget -nv -O mikrotik-$LATEST_VERSION.iso https://download.mikrotik.com/routeros/$LATEST_VERSION/mikrotik-$LATEST_VERSION.iso
|
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 \
|
-eltorito-alt-boot \
|
||||||
-e efiboot.img \
|
-e efiboot.img \
|
||||||
-no-emul-boot \
|
-no-emul-boot \
|
||||||
-R \
|
-R -J \
|
||||||
./new_iso
|
./new_iso
|
||||||
sudo rm -rf ./new_iso
|
sudo rm -rf ./new_iso
|
||||||
|
|
||||||
@ -190,6 +189,7 @@ jobs:
|
|||||||
name: "MikroTik ${{ env.LATEST_VERSION }}"
|
name: "MikroTik ${{ env.LATEST_VERSION }}"
|
||||||
body: "MikroTik ${{ env.LATEST_VERSION }}"
|
body: "MikroTik ${{ env.LATEST_VERSION }}"
|
||||||
tag_name: ${{ env.LATEST_VERSION }}
|
tag_name: ${{ env.LATEST_VERSION }}
|
||||||
|
make_latest: ${{ matrix.channel == 'stable' }}
|
||||||
files: |
|
files: |
|
||||||
mikrotik-${{ env.LATEST_VERSION }}.iso
|
mikrotik-${{ env.LATEST_VERSION }}.iso
|
||||||
install-image-${{ env.LATEST_VERSION }}.zip
|
install-image-${{ env.LATEST_VERSION }}.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user