Skip to content

Commit 2e9e7d5

Browse files
committed
fix ci publish
1 parent b5bcee7 commit 2e9e7d5

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: false
1212
matrix:
1313
include:
14-
- { os: ubuntu-24.04, compiler: clang-18 }
14+
- { os: ubuntu-24.04, build_profile: ubuntu-24.04-clang-18, host_profile: ubuntu-24.04-clang-18 }
1515
steps:
1616
- name: checkout
1717
uses: actions/checkout@v4
@@ -27,13 +27,20 @@ jobs:
2727
run: conan remote add odr https://artifactory.opendocument.app/artifactory/api/conan/conan
2828

2929
- name: conan config
30-
run: conan config install .github/config/${{ matrix.os }}-${{ matrix.compiler }}/conan
30+
run: conan config install .github/config/conan
3131

3232
- name: get version
3333
run: echo "VERSION=${GITHUB_REF_NAME:1}" >> $GITHUB_ENV
3434

3535
- name: create conan package
36-
run: conan create conanfile.py --name odrcore --version ${VERSION} --build missing
36+
run: >
37+
conan create conanfile.py
38+
--lockfile conan.lock
39+
--profile:host '${{ matrix.host_profile }}'
40+
--profile:build '${{ matrix.build_profile }}'
41+
--name odrcore
42+
--version ${VERSION}
43+
--build missing
3744
3845
- name: conan login
3946
run: conan remote login odr admin --password ${{ secrets.ARTIFACTORY }}

0 commit comments

Comments
 (0)