diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5616269fc7..a8908772bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,7 +70,7 @@ jobs: runs-on: ubuntu-latest needs: sanity_check container: - image: coderus/sailfishos-platform-sdk:3.4.0.24 + image: coderus/sailfishos-platform-sdk:4.4.0.64 steps: - uses: actions/checkout@v1 # TODO currently broken because of USER in Dockerimage and probably because of double containers as well @@ -79,7 +79,7 @@ jobs: - name: run build run: sudo -E bash contrib/sailfish/build_sailfish_ci.sh env: - VERSION_ID: 3.4.0.24 + VERSION_ID: 4.4.0.64 - uses: actions/upload-artifact@v1 with: name: Store rpm diff --git a/contrib/sailfish/build_sailfish_ci.sh b/contrib/sailfish/build_sailfish_ci.sh index fee98d82aa..eccf89abdb 100755 --- a/contrib/sailfish/build_sailfish_ci.sh +++ b/contrib/sailfish/build_sailfish_ci.sh @@ -3,7 +3,7 @@ # please don't mess around with those lines without testing, # even if some fancy tool tells you to do so to save some pipes. # -hoehnp- -export HOME=/home/nemo + if [ -z ${VERSION_ID+x} ]; then echo "VERSION_ID not set. Forgot to export VERSION_ID?"; exit 1; fi # First we need to cd to the directory containing this script and the spec file.