diff options
author | j.spijker@ultimaker.com <jelle spijker> | 2022-07-19 08:46:56 +0300 |
---|---|---|
committer | jspijker <j.spijker@ultimaker.com> | 2022-07-19 08:46:56 +0300 |
commit | 1253adf31c86e311a529a3dddb7c1516e7c0d7cc (patch) | |
tree | e04ee3fa870e36e2cf6dec085e7daf0f2ccd6fed | |
parent | fe8686438ddf3d67f8ce8a138d469dd55d76f7a9 (diff) |
Only remove alias on Linux
Contributes to CURA-9365
-rw-r--r-- | .github/workflows/conan-recipe-export.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/conan-recipe-export.yml b/.github/workflows/conan-recipe-export.yml index a26d14da70..e8f839a0f0 100644 --- a/.github/workflows/conan-recipe-export.yml +++ b/.github/workflows/conan-recipe-export.yml @@ -87,10 +87,10 @@ jobs: run: conan export . ${{ inputs.recipe_id_full }} - name: Remove the latest alias - if: ${{ inputs.recipe_id_latest != '' && inputs.conan_export_binaries }} + if: ${{ inputs.recipe_id_latest != '' && os.runner = 'Linux' }} run: | - 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 -f || true + conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f || true - name: Create the latest alias if: ${{ inputs.recipe_id_latest != '' && always() }} |