fixes
This commit is contained in:
parent
5799b022ff
commit
3369f68d44
1 changed files with 8 additions and 3 deletions
7
.github/workflows/docker-image.yml
vendored
7
.github/workflows/docker-image.yml
vendored
|
|
@ -17,10 +17,15 @@ jobs:
|
|||
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'))
|
||||
if [ -z "$REMOTEAPPVER" -a "$REMOTEAPPVER" = " " ]; then
|
||||
echo "Empty Response"
|
||||
exit 1
|
||||
fi
|
||||
if [[ "$LOCALAPPVER" != "$REMOTEAPPVER" ]]; then
|
||||
echo "$REMOTEAPPVER" > sandstorm.version
|
||||
echo "$REMOTEAPPVER" >sandstorm.version
|
||||
exit 0
|
||||
else
|
||||
echo "Download Failed"
|
||||
exit 1
|
||||
fi
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue