Skip to content

Commit

Permalink
Update env var expansion script
Browse files Browse the repository at this point in the history
  • Loading branch information
ViliusSutkus89 committed Jun 15, 2024
1 parent b178c5b commit 6bdfd1a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6bdfd1a

Please sign in to comment.