Split uploading Artifactory cura and cura-ce

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-20 13:08:23 +02:00 committed by jspijker
parent 61996e5af6
commit 763768e26d
2 changed files with 20 additions and 7 deletions

View file

@ -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

View file

@ -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