mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 05:53:59 -06:00
switched the conan-config with/out branch statement
Contributes to CURA-9365
This commit is contained in:
parent
4467491c36
commit
c11865d1ca
2 changed files with 7 additions and 7 deletions
4
.github/workflows/conan-package-create.yml
vendored
4
.github/workflows/conan-package-create.yml
vendored
|
@ -69,11 +69,11 @@ jobs:
|
|||
key: ${{ runner.os }}-conan
|
||||
|
||||
- name: Get Conan configuration from branch
|
||||
if: "${{ inputs.conan_config_branch == '' }}"
|
||||
if: ${{ inputs.conan_config_branch != '' }}
|
||||
run: conan config install https://github.com/Ultimaker/conan-config.git -a "-b ${{ inputs.conan_config_branch }}"
|
||||
|
||||
- name: Get Conan configuration
|
||||
if: "${{ inputs.conan_config_branch != '' }}"
|
||||
if: ${{ inputs.conan_config_branch == '' }}
|
||||
run: conan config install https://github.com/Ultimaker/conan-config.git
|
||||
|
||||
- name: Create the Packages
|
||||
|
|
10
.github/workflows/conan-recipe-export.yml
vendored
10
.github/workflows/conan-recipe-export.yml
vendored
|
@ -67,23 +67,23 @@ jobs:
|
|||
key: ${{ runner.os }}-conan
|
||||
|
||||
- name: Get Conan configuration from branch
|
||||
if: "${{ inputs.conan_config_branch == '' }}"
|
||||
if: ${{ inputs.conan_config_branch != '' }}
|
||||
run: conan config install https://github.com/Ultimaker/conan-config.git -a "-b ${{ inputs.conan_config_branch }}"
|
||||
|
||||
- name: Get Conan configuration
|
||||
if: "${{ inputs.conan_config_branch != '' }}"
|
||||
if: ${{ inputs.conan_config_branch == '' }}
|
||||
run: conan config install https://github.com/Ultimaker/conan-config.git
|
||||
|
||||
- name: Export the Package (binaries)
|
||||
if: "${{ inputs.conan_export_binaries == 'true' }}"
|
||||
if: ${{ inputs.conan_export_binaries == 'true' }}
|
||||
run: conan export-pkg . ${{ inputs.recipe_id_full }}
|
||||
|
||||
- name: Export the Package
|
||||
if: "${{ inputs.conan_export_binaries != 'true' }}"
|
||||
if: ${{ inputs.conan_export_binaries != 'true' }}
|
||||
run: conan export . ${{ inputs.recipe_id_full }}
|
||||
|
||||
- name: Create the latest alias
|
||||
if: "${{ inputs.recipe_id_latest == '' }}"
|
||||
if: ${{ inputs.recipe_id_latest == '' }}
|
||||
run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
|
||||
|
||||
- name: Upload the Package(s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue