Skip to content

Commit c3f1f58

Browse files
committed
Fix conan remote addition order in upload script
1 parent ff11405 commit c3f1f58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/upload-conan-pkgs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242
#!/bin/bash -v
4343
set -eu
4444
cd /mnt/source
45-
conan remote add osp https://osp.jfrog.io/artifactory/api/conan/conan-local --force
46-
pip install conan --user --upgrade
45+
rm -rf ~/.conan2
46+
pip install --user --upgrade conan~=2.22
4747
conan profile detect --force
48+
conan remote add osp https://osp.jfrog.io/artifactory/api/conan/conan-local --force
4849
REFNAME="${GITHUB_REF#refs/*/}"
4950
VERSION="v$(<version.txt)"
5051
if [[ $GITHUB_REF == refs/tags/* ]] && [[ $REFNAME == $VERSION ]]; then CHANNEL="stable"

0 commit comments

Comments
 (0)