Only remove the binaries with pure export step

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-07-19 07:36:57 +02:00 committed by jspijker
parent 0b7fe4790b
commit 788606cb51

View File

@ -87,7 +87,7 @@ jobs:
run: conan export . ${{ inputs.recipe_id_full }}
- name: Remove the latest alias
if: ${{ inputs.recipe_id_latest != '' }}
if: ${{ inputs.recipe_id_latest != '' && inputs.conan_export_binaries != 'true' }}
run: |
conan remove ${{ inputs.recipe_id_latest }} -r cura -f
conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f