diff --git a/.github/workflows/sync-to-artifactory.yml b/.github/workflows/sync-to-artifactory.yml index 0ffbd10..05af4ae 100644 --- a/.github/workflows/sync-to-artifactory.yml +++ b/.github/workflows/sync-to-artifactory.yml @@ -36,11 +36,13 @@ jobs: - name: Install package run: | + # List remote Conan repositories; should include Conan Center by default conan remote list conan install ${{ github.event.inputs.package }}@ -s compiler=gcc -s compiler.version=11 -s compiler.libcxx=libstdc++11 -s build_type=Release - name: inspect installed package run: | + # Search for installed packages and their revisions conan search '*' --revisions - name: Upload @@ -49,4 +51,5 @@ jobs: conan user -p ${{ secrets.JFROG_PASSWORD }} -r default-conan-local ${{ secrets.JFROG_USERNAME }} # upload all packages - conan upload '*' -r default-conan-local \ No newline at end of file + # Upload only the Conan recipe to the specified local repository, excluding binaries + conan upload '*' -r default-conan-local -c \ No newline at end of file