diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-07-19 08:29:24 +0300 |
---|---|---|
committer | jspijker <j.spijker@ultimaker.com> | 2022-07-19 08:29:24 +0300 |
commit | 0b7fe4790b628b40de80f87a63f0f49db83a58f5 (patch) | |
tree | 52b3a79bb2a841e4ae936fe566716661626e02c5 | |
parent | 34fccedd0336a4c50beab957948fe278e4b12f08 (diff) |
Allow remove alias to fail
Contributes to CURA-9365
-rw-r--r-- | .github/workflows/conan-recipe-export.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/conan-recipe-export.yml b/.github/workflows/conan-recipe-export.yml index 9e6ce9a55d..1ede5ba60f 100644 --- a/.github/workflows/conan-recipe-export.yml +++ b/.github/workflows/conan-recipe-export.yml @@ -86,14 +86,18 @@ jobs: if: ${{ inputs.conan_export_binaries != 'true' }} run: conan export . ${{ inputs.recipe_id_full }} - - name: Create the latest alias + - name: Remove the latest alias if: ${{ inputs.recipe_id_latest != '' }} run: | conan remove ${{ inputs.recipe_id_latest }} -r cura -f conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f - conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }} + + - name: Create the latest alias + if: ${{ inputs.recipe_id_latest != '' && always() }} + run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }} - name: Upload the Package(s) + if: always() run: | # Only use --all (upload binaries) for the cura repository conan upload "*" -r cura --all -c |