Use latest alias

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-22 19:10:56 +02:00 committed by Jelle Spijker
parent f7c361f61e
commit 2781725cea
2 changed files with 14 additions and 19 deletions

View file

@ -76,9 +76,4 @@ jobs:
- name: Get latest alias
id: latest-alias
run: |
# FIXME: Remove the CURA-9365 clause once merged to main
if [ "${{ github.ref_name == 'main' ||contains(github.ref_name, 'CURA-9365') }}" = "true" ]; then
echo "::set-output name=recipe_id_latest::${{ inputs.project_name }}/latest@${{ steps.get-conan-broadcast-data.outputs.user }}/${{ steps.get-conan-broadcast-data.outputs.channel }}"
else
echo "::set-output name=recipe_id_latest::''"
fi
echo "::set-output name=recipe_id_latest::${{ inputs.project_name }}/latest@${{ steps.get-conan-broadcast-data.outputs.user }}/${{ steps.get-conan-broadcast-data.outputs.channel }}"