From dce96a6abd45ed305a1222d469324f2b08734ece Mon Sep 17 00:00:00 2001 From: "j.spijker@ultimaker.com" Date: Sat, 18 Jun 2022 14:44:46 +0200 Subject: [PATCH] Add a custom export-pkg option Repo's such as fdm_materials and cura-binary-data don't need to build we can just export pre-build binaries and files with the recipe Contributes to CURA-9365 --- .github/workflows/conan-recipe-export.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/conan-recipe-export.yml b/.github/workflows/conan-recipe-export.yml index 593e4fe281..5a08a9bbff 100644 --- a/.github/workflows/conan-recipe-export.yml +++ b/.github/workflows/conan-recipe-export.yml @@ -27,6 +27,10 @@ on: required: false type: string + conan_export_binaries: + required: false + type: boolean + env: CONAN_LOGIN_USERNAME_ULTIMAKER: ${{ secrets.CONAN_USER }} CONAN_PASSWORD_ULTIMAKER: ${{ secrets.CONAN_PASS }} @@ -68,7 +72,12 @@ jobs: path: $HOME/.conan/data key: ${{ runner.os }}-conan + - name: Export the Package (binaries) + if: "${{ inputs.conan_export_binaries == 'true' }}" + run: conan export-pkg . ${{ inputs.recipe_id_full }} + - name: Export the Package + if: "${{ inputs.conan_export_binaries != 'true' }}" run: conan export . ${{ inputs.recipe_id_full }} - name: Create the latest alias