From dc9a1366a86522e9f1ac44e1fd920a83a982538e Mon Sep 17 00:00:00 2001 From: AndrewMarchukov Date: Wed, 13 Jul 2022 21:40:38 +0400 Subject: [PATCH] fix --- .github/workflows/docker-image.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 99a6f8e..2e5c39e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -14,15 +14,15 @@ jobs: - name: Check new version id: status run: | - LOCALAPPVER=$(cat sandstorm.version) - REMOTEAPPVER=$(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public') + LOCALAPPVER=($(cat sandstorm.version)) + REMOTEAPPVER=($(curl -s -X GET 'https://api.steamcmd.net/v1/info/581330' | jq -r -e '.data."581330".depots."581333".manifests.public')) if [[ "$LOCALAPPVER" != "$REMOTEAPPVER" ]]; then echo "$REMOTEAPPVER" > sandstorm.version exit 0 else exit 1 fi - shell: bash + shell: /bin/bash -e {0} - name: login to git run: | git config --global user.name 'Andrew Marchukov'