Skip to content

Commit 844cf29

Browse files
committed
🔨 Another CMake github actions attempt
1 parent a8d9766 commit 844cf29

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/cmake-multi-platform.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,10 @@ jobs:
4444
shell: bash
4545
run: |
4646
conan profile detect --force
47-
mkdir -p ~/.conan2/profiles
48-
cat > ~/.conan2/profiles/default << EOF
49-
include(default)
50-
[conf]
51-
tools.system.package_manager:mode=install
52-
tools.system.package_manager:sudo=True
53-
EOF
47+
# Add system package manager settings to detected profile
48+
echo "[conf]" >> ~/.conan2/profiles/default
49+
echo "tools.system.package_manager:mode=install" >> ~/.conan2/profiles/default
50+
echo "tools.system.package_manager:sudo=True" >> ~/.conan2/profiles/default
5451
5552
- name: Cache Conan packages
5653
uses: actions/cache@v3

0 commit comments

Comments
 (0)