ensure that the latest is removed

(cherry picked from commit 840aada83d)
This commit is contained in:
jspijker 2023-02-28 13:32:29 +01:00
parent c985614896
commit d072942eb8
2 changed files with 4 additions and 4 deletions

View file

@ -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() }}

View file

@ -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() }}