|
@@ -37,10 +37,8 @@ on:
|
|
|
type: boolean
|
|
|
|
|
|
env:
|
|
|
- CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }}
|
|
|
- CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }}
|
|
|
- CONAN_LOGIN_USERNAME_CURA_CE: ${{ secrets.CONAN_USER }}
|
|
|
- CONAN_PASSWORD_CURA_CE: ${{ secrets.CONAN_PASS }}
|
|
|
+ CONAN_LOGIN_USERNAME: ${{ secrets.CONAN_USER }}
|
|
|
+ CONAN_PASSWORD: ${{ secrets.CONAN_PASS }}
|
|
|
CONAN_LOG_RUN_TO_OUTPUT: 1
|
|
|
CONAN_LOGGING_LEVEL: ${{ inputs.conan_logging_level }}
|
|
|
CONAN_NON_INTERACTIVE: 1
|
|
@@ -80,6 +78,9 @@ jobs:
|
|
|
if: ${{ inputs.conan_config_branch == '' }}
|
|
|
run: conan config install https://github.com/Ultimaker/conan-config.git
|
|
|
|
|
|
+ - name: Add Cura private Artifactory remote
|
|
|
+ run: conan remote add cura-private https://ultimaker.jfrog.io/artifactory/api/conan/cura-private True
|
|
|
+
|
|
|
- name: Export the Package (binaries)
|
|
|
if: ${{ inputs.conan_export_binaries }}
|
|
|
run: conan create . ${{ inputs.recipe_id_full }} --build=missing --update
|
|
@@ -93,7 +94,13 @@ jobs:
|
|
|
run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
|
|
|
|
|
|
- name: Upload the Package(s)
|
|
|
- if: always()
|
|
|
+ if: ${{ always() && inputs.conan_upload_community }}
|
|
|
run: |
|
|
|
conan upload ${{ inputs.recipe_id_full }} -r cura --all -c
|
|
|
conan upload ${{ inputs.recipe_id_latest }} -r cura -c
|
|
|
+
|
|
|
+ - name: Upload the Package(s) to the private Artifactory
|
|
|
+ if: ${{ always() && ! inputs.conan_upload_community }}
|
|
|
+ run: |
|
|
|
+ conan upload ${{ inputs.recipe_id_full }} -r cura-private --all -c
|
|
|
+ conan upload ${{ inputs.recipe_id_latest }} -r cura-private -c
|