diff --git a/.github/workflows/conan-recipe-export.yml b/.github/workflows/conan-recipe-export.yml index a26d14da70..e8f839a0f0 100644 --- a/.github/workflows/conan-recipe-export.yml +++ b/.github/workflows/conan-recipe-export.yml @@ -87,10 +87,10 @@ jobs: run: conan export . ${{ inputs.recipe_id_full }} - name: Remove the latest alias - if: ${{ inputs.recipe_id_latest != '' && inputs.conan_export_binaries }} + if: ${{ inputs.recipe_id_latest != '' && os.runner = 'Linux' }} run: | - conan remove ${{ inputs.recipe_id_latest }} -r cura -f - conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f + conan remove ${{ inputs.recipe_id_latest }} -r cura -f || true + conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f || true - name: Create the latest alias if: ${{ inputs.recipe_id_latest != '' && always() }}