From 1253adf31c86e311a529a3dddb7c1516e7c0d7cc Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Tue, 19 Jul 2022 07:46:56 +0200 Subject: [PATCH] Only remove alias on Linux Contributes to CURA-9365 --- .github/workflows/conan-recipe-export.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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() }}