Skip to content

Commit 57961c4

Browse files
Keep Conan home env var on remotes creation steps.
1 parent c8d5f58 commit 57961c4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,20 +90,19 @@ jobs:
9090
python3 -m venv .venv
9191
${{ matrix.config.activate_venv }}
9292
pip3 install -r scripts/requirements.txt
93-
which conan
94-
conan remote list
9593
conan remote add teiacare ${{ secrets.ARTIFACTORY_URL }}/teiacare --insert 0 --force
9694
conan user ${{ secrets.ARTIFACTORY_USERNAME }} -p ${{ secrets.ARTIFACTORY_PASSWORD }} -r teiacare
97-
conan remote list
95+
env:
96+
CONAN_USER_HOME: ${{ github.workspace }}
9897

9998
- name: Setup Conan
10099
uses: ./.github/actions/shell
101100
with:
102101
commands: |
103102
${{ matrix.config.activate_venv }}
104-
which conan
105-
conan remote list
106103
python3 scripts/conan/setup.py ${{ matrix.build_type }} ${{ matrix.config.compiler }} ${{ matrix.config.compiler_version }}
104+
env:
105+
CONAN_USER_HOME: ${{ github.workspace }}
107106

108107
- name: Build
109108
uses: ./.github/actions/shell

0 commit comments

Comments
 (0)