allow creation from source

Contributes to CURA-9430
This commit is contained in:
j.spijker@ultimaker.com 2022-07-20 16:24:13 +02:00 committed by Jelle Spijker
parent 10b7b7f2c4
commit 0676dea789
2 changed files with 14 additions and 4 deletions

View file

@ -7,6 +7,10 @@ on:
required: true
type: string
recipe_id_latest:
required: false
type: string
runs_on:
required: true
type: string
@ -118,6 +122,16 @@ jobs:
if: ${{ inputs.create_from_source }}
run: conan install . ${{ inputs.recipe_id_full }} --build=missing --update
- name: Remove the latest alias
if: ${{ inputs.create_from_source && inputs.recipe_id_latest != '' && runner.os == 'Linux' }}
run: |
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.create_from_source && inputs.recipe_id_latest != '' && always() }}
run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
- name: Upload the Package(s)
if: always()
run: conan upload "*" -r cura --all -c

View file

@ -11,10 +11,6 @@ on:
required: false
type: string
recipe_id_pr:
required: false
type: string
runs_on:
required: true
type: string