Add a custom export-pkg option

Repo's such as fdm_materials and cura-binary-data don't
need to build we can just export pre-build binaries
and files with the recipe

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-18 14:44:46 +02:00 committed by jspijker
parent 0713960482
commit dce96a6abd

View file

@ -27,6 +27,10 @@ on:
required: false
type: string
conan_export_binaries:
required: false
type: boolean
env:
CONAN_LOGIN_USERNAME_ULTIMAKER: ${{ secrets.CONAN_USER }}
CONAN_PASSWORD_ULTIMAKER: ${{ secrets.CONAN_PASS }}
@ -68,7 +72,12 @@ jobs:
path: $HOME/.conan/data
key: ${{ runner.os }}-conan
- name: Export the Package (binaries)
if: "${{ inputs.conan_export_binaries == 'true' }}"
run: conan export-pkg . ${{ inputs.recipe_id_full }}
- name: Export the Package
if: "${{ inputs.conan_export_binaries != 'true' }}"
run: conan export . ${{ inputs.recipe_id_full }}
- name: Create the latest alias