diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 59c269d..144cf69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -70,9 +70,7 @@ jobs: run: echo "y" | sudo ${ANDROID_HOME}/cmdline-tools/latest/bin/sdkmanager --install `echo "${{ matrix.config.compiler }}" | tr - ";"` - name: expand ANDROID_HOME env var in conan profile if: startsWith(matrix.config.compiler, 'ndk-') - run: | - perl -pi -e "s/\$ANDROID_HOME/$ANDROID_HOME/g" .github/config/${{ matrix.config.os }}-${{ matrix.config.compiler }}/conan/* - cat .github/config/${{ matrix.config.os }}-${{ matrix.config.compiler }}/conan/* + run: perl -pi -e 's/\$ANDROID_HOME/$ENV{ANDROID_HOME}/g' .github/config/${{ matrix.config.os }}-${{ matrix.config.compiler }}/conan/profiles/host - name: setup python 3.12 uses: actions/setup-python@v5