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