mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-06 05:23:58 -06:00
Allow remove alias to fail
Contributes to CURA-9365
This commit is contained in:
parent
34fccedd03
commit
0b7fe4790b
1 changed files with 6 additions and 2 deletions
8
.github/workflows/conan-recipe-export.yml
vendored
8
.github/workflows/conan-recipe-export.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue