Allow package creation from the source folder

normally you won't need this because it is first exported

Contributes to CURA-9430
This commit is contained in:
j.spijker@ultimaker.com 2022-07-20 16:17:27 +02:00 committed by Jelle Spijker
parent 763768e26d
commit 10b7b7f2c4

View file

@ -33,6 +33,11 @@ on:
default: true
type: boolean
create_from_source:
required: false
default: false
type: boolean
env:
CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }}
CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }}
@ -106,8 +111,13 @@ jobs:
run: conan config install https://github.com/Ultimaker/conan-config.git
- name: Create the Packages
if: ${{ !inputs.create_from_source }}
run: conan install ${{ inputs.recipe_id_full }} --build=missing --update
- name: Create the Packages (from source)
if: ${{ inputs.create_from_source }}
run: conan install . ${{ inputs.recipe_id_full }} --build=missing --update
- name: Upload the Package(s)
if: always()
run: conan upload "*" -r cura --all -c