Browse Source

Only remove the binaries with pure export step

Contributes to CURA-9365
j.spijker@ultimaker.com 2 years ago
parent
commit
788606cb51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/conan-recipe-export.yml

+ 1 - 1
.github/workflows/conan-recipe-export.yml

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