mirror of
https://github.com/Ultimaker/Cura.git
synced 2026-01-04 13:47:45 -07:00
Add package override inputs to workflow
Introduces cura_conan_version and package_overrides as new workflow inputs to allow manual specification and extension of discovered packages. Updates workflow references and argument passing to support these options.
This commit is contained in:
parent
5bd93c4e52
commit
32ecfb7b0b
1 changed files with 11 additions and 3 deletions
14
.github/workflows/find-packages.yml
vendored
14
.github/workflows/find-packages.yml
vendored
|
|
@ -13,6 +13,14 @@ on:
|
|||
default: true
|
||||
required: false
|
||||
type: boolean
|
||||
cura_conan_version:
|
||||
description: 'Cura Conan Version (optional, overrides discovered packages)'
|
||||
default: ''
|
||||
type: string
|
||||
package_overrides:
|
||||
description: 'List of specific packages to be used (space-separated, in addition to discovered packages)'
|
||||
default: ''
|
||||
type: string
|
||||
conan_args:
|
||||
description: 'Conan args'
|
||||
default: ''
|
||||
|
|
@ -32,7 +40,7 @@ permissions:
|
|||
jobs:
|
||||
find-packages:
|
||||
name: Find packages for Jira ticket
|
||||
uses: ultimaker/cura-workflows/.github/workflows/find-package-by-ticket.yml@main
|
||||
uses: ultimaker/cura-workflows/.github/workflows/find-package-by-ticket.yml@update_package_find_workflow_deduplicate
|
||||
with:
|
||||
jira_ticket_number: ${{ inputs.jira_ticket_number }}
|
||||
secrets: inherit
|
||||
|
|
@ -43,8 +51,8 @@ jobs:
|
|||
if: ${{ inputs.start_builds == true && needs.find-packages.outputs.discovered_packages != '' }}
|
||||
uses: ultimaker/cura-workflows/.github/workflows/cura-installers.yml@main
|
||||
with:
|
||||
cura_conan_version: ${{ needs.find-packages.outputs.cura_package }}
|
||||
package_overrides: ${{ needs.find-packages.outputs.package_overrides }}
|
||||
cura_conan_version: ${{ inputs.cura_conan_version != '' && inputs.cura_conan_version || needs.find-packages.outputs.cura_package }}
|
||||
package_overrides: ${{ format('{0}, {1}', needs.find-packages.outputs.package_overrides, inputs.package_overrides) }}
|
||||
conan_args: ${{ inputs.conan_args }}
|
||||
enterprise: ${{ inputs.enterprise }}
|
||||
staging: ${{ inputs.staging }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue