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
382efa0578
commit
dd0f8ef310
2
.github/workflows/mikrotik_patch.yml
vendored
2
.github/workflows/mikrotik_patch.yml
vendored
@ -47,7 +47,7 @@ jobs:
|
|||||||
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 Version:$LATEST_VERSION
|
echo Latest Version:$LATEST_VERSION
|
||||||
if [ "${{ github.event_name }}" == "schedule" ]; then
|
if [ "${{ github.event_name }}" == "schedule" ]; then
|
||||||
_LATEST_VERSION=$(wget -nv -O - https://upgrade.mikrotik.ltd/routeros/NEWESTa7.${{ matrix.channel }} | cut -d ' ' -f1)
|
_LATEST_VERSION=$(wget -nv -O - https://${{ env.CUSTOM_UPGRADE_URL }}/routeros/NEWESTa7.${{ matrix.channel }} | cut -d ' ' -f1)
|
||||||
if [ "$_LATEST_VERSION" == "$LATEST_VERSION" ]; then
|
if [ "$_LATEST_VERSION" == "$LATEST_VERSION" ]; then
|
||||||
echo "No new version found"
|
echo "No new version found"
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user