diff --git a/.github/workflows/conan-package-create.yml b/.github/workflows/conan-package-create.yml index ac0333bc9f..77fa837c3c 100644 --- a/.github/workflows/conan-package-create.yml +++ b/.github/workflows/conan-package-create.yml @@ -28,6 +28,11 @@ on: type: boolean default: false + conan_upload_community: + required: false + default: true + type: boolean + env: CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }} CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }} @@ -105,6 +110,8 @@ jobs: - name: Upload the Package(s) if: always() - run: | - conan upload "*" -r cura --all -c - conan upload "*" -r cura-ce -c + run: conan upload "*" -r cura --all -c + + - name: Upload the Package(s) community + if: ${{ always() && inputs.conan_upload_community == 'true' }} + run: conan upload "*" -r cura-ce -c diff --git a/.github/workflows/conan-recipe-export.yml b/.github/workflows/conan-recipe-export.yml index edf251b798..96eb57b753 100644 --- a/.github/workflows/conan-recipe-export.yml +++ b/.github/workflows/conan-recipe-export.yml @@ -35,6 +35,11 @@ on: required: false type: boolean + conan_upload_community: + required: false + default: true + type: boolean + env: CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }} CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }} @@ -98,7 +103,8 @@ jobs: - name: Upload the Package(s) if: always() - run: | - # Only use --all (upload binaries) for the cura repository - conan upload "*" -r cura --all -c - conan upload "*" -r cura-ce -c + run: conan upload "*" -r cura --all -c + + - name: Upload the Package(s) community + if: ${{ always() && inputs.conan_upload_community == 'true' }} + run: conan upload "*" -r cura-ce -c