mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-22 04:29:01 +08:00
Allow remove alias to fail
Contributes to CURA-9365
This commit is contained in:
parent
34fccedd03
commit
0b7fe4790b
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' }}
|
if: ${{ inputs.conan_export_binaries != 'true' }}
|
||||||
run: conan export . ${{ inputs.recipe_id_full }}
|
run: conan export . ${{ inputs.recipe_id_full }}
|
||||||
|
|
||||||
- name: Create the latest alias
|
- name: Remove the latest alias
|
||||||
if: ${{ inputs.recipe_id_latest != '' }}
|
if: ${{ inputs.recipe_id_latest != '' }}
|
||||||
run: |
|
run: |
|
||||||
conan remove ${{ inputs.recipe_id_latest }} -r cura -f
|
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-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)
|
- name: Upload the Package(s)
|
||||||
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
# Only use --all (upload binaries) for the cura repository
|
# Only use --all (upload binaries) for the cura repository
|
||||||
conan upload "*" -r cura --all -c
|
conan upload "*" -r cura --all -c
|
||||||
|
Loading…
x
Reference in New Issue
Block a user