From 10b7b7f2c44c9b1b6d7f875fdb38c4be1fd4ef01 Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Wed, 20 Jul 2022 16:17:27 +0200 Subject: [PATCH] Allow package creation from the source folder normally you won't need this because it is first exported Contributes to CURA-9430 --- .github/workflows/conan-package-create.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/conan-package-create.yml b/.github/workflows/conan-package-create.yml index 77fa837c3c..75f1bb1f3e 100644 --- a/.github/workflows/conan-package-create.yml +++ b/.github/workflows/conan-package-create.yml @@ -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