Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix condition
  • Loading branch information
3nids committed Aug 25, 2020
1 parent b1bdd57 commit e113771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker.yml
Expand Up @@ -69,9 +69,9 @@ jobs:
-f qgis.dockerfile ..
docker run --name qgis_container qgis/qgis:BUILDER /bin/true
docker cp qgis_container:/QGIS/build_exit_value ${HOME}/build_exit_value
docker cp qgis_container:/QGIS/build_exit_value ./build_exit_value
if [[ $(cat ${HOME}/build_exit_value) ne "OK" ]]; then
if [[ $(cat ./build_exit_value) -ne "OK" ]]; then
echo "Build failed, not pushing image"
exit 1
fi
Expand Down

0 comments on commit e113771

Please sign in to comment.