Don't remove the latest

This commit is contained in:
jspijker 2023-02-28 16:50:49 +01:00
parent 1018d8fc5c
commit e3f6c74f46
3 changed files with 2 additions and 11 deletions

View File

@ -173,4 +173,3 @@ jobs:
if: always()
run: |
conan upload ${{ inputs.recipe_id_full }} -r cura --all -c
conan upload ${{ inputs.recipe_id_latest }} -r cura --all -c

View File

@ -125,10 +125,6 @@ jobs:
- name: Create the Packages
run: conan create . ${{ needs.conan-recipe-version.outputs.recipe_id_full }} --build=missing --update -o ${{ needs.conan-recipe-version.outputs.project_name }}:devtools=True
- name: Remove the latest alias
if: always()
run: conan remove ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} -r cura -f || true
- name: Create the latest alias
if: always()
run: conan alias ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
@ -137,7 +133,7 @@ jobs:
if: always()
run: |
conan upload ${{ needs.conan-recipe-version.outputs.recipe_id_full }} -r cura --all -c
conan upload ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} -r cura --all -c
conan upload ${{ needs.conan-recipe-version.outputs.recipe_id_latest }} -r cura -c
notify-create:
if: ${{ always() && (github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'master' || needs.conan-recipe-version.outputs.is_release_branch == 'true')) }}

View File

@ -88,10 +88,6 @@ jobs:
if: ${{ !inputs.conan_export_binaries }}
run: conan export . ${{ inputs.recipe_id_full }}
- name: Remove the latest alias
if: always()
run: conan remove ${{ inputs.recipe_id_latest }} -r cura -f || true
- name: Create the latest alias
if: always()
run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
@ -100,4 +96,4 @@ jobs:
if: always()
run: |
conan upload ${{ inputs.recipe_id_full }} -r cura --all -c
conan upload ${{ inputs.recipe_id_latest }} -r cura --all -c
conan upload ${{ inputs.recipe_id_latest }} -r cura -c