Update mikrotik_patch_7.yml

Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
elseif 2025-02-19 16:22:42 +08:00 committed by GitHub
parent 0dbed4777f
commit 4993be82a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,7 +63,7 @@ jobs:
id: set_buildtime
run:
_BUILD_TIME=${{ github.event.inputs.buildtime }}
if [$_BUILD_TIME == ""];then
if [ $_BUILD_TIME == "" ]; then
echo "BUILD_TIME=$(date +'%s')" >> $GITHUB_OUTPUT
else
echo "BUILD_TIME=$_BUILD_TIME" >> $GITHUB_OUTPUT
@ -94,7 +94,7 @@ jobs:
run: |
echo $(uname -a)
LATEST_VERSION=${{ github.event.inputs.version }}
if [$LATEST_VERSION == ""];then
if [ $LATEST_VERSION == "" ]; then
LATEST_VERSION=$(wget -nv -O - https://${{ env.MIKRO_UPGRADE_URL }}/routeros/NEWESTa7.${{ matrix.channel }} | cut -d ' ' -f1)
fi
echo Latest Version:$LATEST_VERSION