mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 14:55:03 -06:00
Split uploading Artifactory cura and cura-ce
Contributes to CURA-9365
This commit is contained in:
parent
61996e5af6
commit
763768e26d
2 changed files with 20 additions and 7 deletions
13
.github/workflows/conan-package-create.yml
vendored
13
.github/workflows/conan-package-create.yml
vendored
|
@ -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
|
||||
|
|
14
.github/workflows/conan-recipe-export.yml
vendored
14
.github/workflows/conan-recipe-export.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue