fixed latest step

Contributes to CURA-9365
This commit is contained in:
j.spijker@ultimaker.com 2022-06-22 08:52:46 +02:00 committed by Jelle Spijker
parent f746708c8e
commit 4c4c6bb5da

View File

@ -77,7 +77,7 @@ jobs:
id: latest-alias id: latest-alias
run: | run: |
# FIXME: Remove the CURA-9365 clause once merged to main # FIXME: Remove the CURA-9365 clause once merged to main
if [ "${{ github.ref_name == 'main' }}" = "true" || "${{ contains(github.ref_name, 'CURA-9365') }}" ]; then 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 }}" 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 else
echo "::set-output name=recipe_id_latest::''" echo "::set-output name=recipe_id_latest::''"