From 990d460841a7829278c3a138a3fafa40564f57f6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 13 Apr 2023 18:40:38 +0100 Subject: [PATCH] SQLCIPHER_STATIC please behave --- .github/workflows/build_linux.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_linux.yaml b/.github/workflows/build_linux.yaml index 39458ec1..9c4fd736 100644 --- a/.github/workflows/build_linux.yaml +++ b/.github/workflows/build_linux.yaml @@ -36,8 +36,6 @@ jobs: defaults: run: shell: bash - env: - SQLCIPHER_STATIC: ${{ inputs.sqlcipher == 'static' && '1' || '' }} steps: - uses: kanga333/variable-mapper@master id: config @@ -82,6 +80,11 @@ jobs: - name: Install Deps run: "yarn install --frozen-lockfile" + - name: Prepare for static sqlcipher build + if: inputs.sqlcipher === 'static' + run: | + echo "SQLCIPHER_STATIC=1" >> $GITHUB_ENV + # Ideally the docker image would be ready for cross-compilation but libsqlcipher-dev is not Multi-Arch compatible # https://unix.stackexchange.com/a/349359 - name: Prepare for cross compilation