From e3f6c74f46e84f2d580558e66de09436e956d62e Mon Sep 17 00:00:00 2001 From: jspijker Date: Tue, 28 Feb 2023 16:50:49 +0100 Subject: [PATCH] Don't remove the latest --- .github/workflows/conan-package-create.yml | 1 - .github/workflows/conan-package.yml | 6 +----- .github/workflows/conan-recipe-export.yml | 6 +----- 3 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/conan-package-create.yml b/.github/workflows/conan-package-create.yml index 0cdcf84f19..cfaabb2933 100644 --- a/.github/workflows/conan-package-create.yml +++ b/.github/workflows/conan-package-create.yml @@ -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 diff --git a/.github/workflows/conan-package.yml b/.github/workflows/conan-package.yml index 2ba4cf3ec0..e155a1dd70 100644 --- a/.github/workflows/conan-package.yml +++ b/.github/workflows/conan-package.yml @@ -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')) }} diff --git a/.github/workflows/conan-recipe-export.yml b/.github/workflows/conan-recipe-export.yml index a9436d1d58..dd08eda4ac 100644 --- a/.github/workflows/conan-recipe-export.yml +++ b/.github/workflows/conan-recipe-export.yml @@ -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