From d072942eb8e53393731508a49abae5f44f323bf3 Mon Sep 17 00:00:00 2001 From: jspijker Date: Tue, 28 Feb 2023 13:32:29 +0100 Subject: [PATCH] ensure that the latest is removed (cherry picked from commit 840aada83d46fae87793d8b630a1add79b87fa5a) --- .github/workflows/conan-package.yml | 4 ++-- .github/workflows/conan-recipe-export.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/conan-package.yml b/.github/workflows/conan-package.yml index b0970f60a8..b5465fdb03 100644 --- a/.github/workflows/conan-package.yml +++ b/.github/workflows/conan-package.yml @@ -128,8 +128,8 @@ jobs: - name: Remove the latest alias if: ${{ needs.conan-recipe-version.outputs.recipe_id_latest != '' }} run: | - conan remove ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} -r cura -f || true - conan remove ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} -r cura-ce -f || true + conan remove ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} -r cura -f + conan remove ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} -r cura-ce -f - name: Create the latest alias if: ${{ needs.conan-recipe-version.outputs.recipe_id_latest != '' && always() }} diff --git a/.github/workflows/conan-recipe-export.yml b/.github/workflows/conan-recipe-export.yml index eebcd06f46..d0e74498d3 100644 --- a/.github/workflows/conan-recipe-export.yml +++ b/.github/workflows/conan-recipe-export.yml @@ -91,8 +91,8 @@ jobs: - name: Remove the latest alias if: ${{ inputs.recipe_id_latest != '' && runner.os == 'Linux' }} run: | - conan remove ${{ inputs.recipe_id_latest }} -r cura -f || true - conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f || true + conan remove ${{ inputs.recipe_id_latest }} -r cura -f + conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f - name: Create the latest alias if: ${{ inputs.recipe_id_latest != '' && always() }}