mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
ab61c4937f
commit
aaf997c20d
5
.github/workflows/mikrotik_patch_7.yml
vendored
5
.github/workflows/mikrotik_patch_7.yml
vendored
@ -85,12 +85,11 @@ jobs:
|
|||||||
ARCH='-arm64'
|
ARCH='-arm64'
|
||||||
echo "ARCH=$ARCH" >> $GITHUB_ENV
|
echo "ARCH=$ARCH" >> $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
sudo apt-get update > /dev/null
|
|
||||||
|
|
||||||
echo "{\"arch\": \"${{ matrix.arch }}\", \"channel\": \"${{ matrix.channel }}\", \"latest_version\": \"$LATEST_VERSION\",\"build_time\": \"$BUILD_TIME\"}" > latest_version_${{ matrix.arch }}_${{ matrix.channel }}.json
|
echo "{\"arch\": \"${{ matrix.arch }}\", \"channel\": \"${{ matrix.channel }}\", \"latest_version\": \"$LATEST_VERSION\",\"build_time\": \"$BUILD_TIME\"}" > latest_version_${{ matrix.arch }}_${{ matrix.channel }}.json
|
||||||
echo "has_new_version=false" >> $GITHUB_OUTPUT
|
sudo apt-get update > /dev/null
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
|
if: steps.get_latest.outputs.has_new_version == 'true'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: latest_version_${{ matrix.arch }}_${{ matrix.channel }}
|
name: latest_version_${{ matrix.arch }}_${{ matrix.channel }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user