fix
This commit is contained in:
parent
b814dfad21
commit
dc9a1366a8
1 changed files with 3 additions and 3 deletions
6
.github/workflows/docker-image.yml
vendored
6
.github/workflows/docker-image.yml
vendored
|
|
@ -14,15 +14,15 @@ jobs:
|
||||||
- name: Check new version
|
- name: Check new version
|
||||||
id: status
|
id: status
|
||||||
run: |
|
run: |
|
||||||
LOCALAPPVER=$(cat sandstorm.version)
|
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')
|
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
|
if [[ "$LOCALAPPVER" != "$REMOTEAPPVER" ]]; then
|
||||||
echo "$REMOTEAPPVER" > sandstorm.version
|
echo "$REMOTEAPPVER" > sandstorm.version
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shell: bash
|
shell: /bin/bash -e {0}
|
||||||
- name: login to git
|
- name: login to git
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name 'Andrew Marchukov'
|
git config --global user.name 'Andrew Marchukov'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue