File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,18 +23,26 @@ jobs:
2323 - name : install python dependencies
2424 run : pip install --upgrade pip conan
2525
26- - name : conan remote
27- run : conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
26+ - name : get version
27+ run : echo "VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
2828
29+ - name : conan remote
30+ run : |
31+ conan remote remove "*"
32+ conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
33+ conan remote add conancenter https://center2.conan.io
2934 - name : conan config
3035 run : conan config install .github/config/conan
31-
32- - name : get version
33- run : echo "VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
36+ - name : conan install
37+ run : >
38+ conan install .
39+ --lockfile conan.lock
40+ --profile:host '${{ matrix.host_profile }}'
41+ --profile:build '${{ matrix.build_profile }}'
3442
3543 - name : create conan package
3644 run : >
37- conan create conanfile.py
45+ conan create .
3846 --lockfile conan.lock
3947 --profile:host '${{ matrix.host_profile }}'
4048 --profile:build '${{ matrix.build_profile }}'
4654 run : conan remote login odr admin --password ${{ secrets.ARTIFACTORY }}
4755
4856 - name : upload to conan repo
49- run : conan upload "*" --remote odr --confirm
57+ run : conan upload "*" --remote odr --only-recipe -- confirm
You can’t perform that action at this time.
0 commit comments