mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-06 05:34:27 +02:00
ci: Conan package will be uploaded only either for a 'stable' channel or for a commit on a master branch
This commit is contained in:
1
.github/workflows/ci-conan.yml
vendored
1
.github/workflows/ci-conan.yml
vendored
@@ -238,6 +238,7 @@ jobs:
|
||||
run: |
|
||||
conan create . mpusz/testing -e mp-units:CONAN_RUN_TESTS=True -o mp-units:build_docs=False -o mp-units:downcast_mode=${{ matrix.downcast_mode }} -b mp-units -b outdated -u
|
||||
- name: Upload mp-units Conan package
|
||||
if: github.ref == 'refs/heads/master' || env.CHANNEL == 'stable'
|
||||
shell: bash
|
||||
run: |
|
||||
conan user ${{ secrets.CONAN_LOGIN_USERNAME }} -r artifactory -p ${{ secrets.CONAN_PASSWORD }}
|
||||
|
Reference in New Issue
Block a user