We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1541dc commit a567e04Copy full SHA for a567e04
1 file changed
.github/workflows/vm-tests.yml
@@ -234,6 +234,12 @@ jobs:
234
235
ssh "${SSH_OPTIONS[@]}" "root@${SERVER_ADDRESS}" "ncc status" | grep "version:" | awk '{ print $3 }'
236
latest_nc_version="$(cat /__w/nextcloudpi/nextcloudpi/etc/ncp.cfg | jq -r '.nextcloud_version')"
237
+ current_nc_version_new="$(ssh "${SSH_OPTIONS[@]}" "root@${SERVER_ADDRESS}" "ncc status" | grep "version:" | awk '{ print $3 }')"
238
+
239
+ if [[ "$current_nc_version_new" =~ "$latest_nc_version".* ]]
240
+ then
241
+ exit 0
242
+ fi
243
244
for i in {1..10};
245
do
0 commit comments