mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 06:23:59 -06:00
allow creation from source
Contributes to CURA-9430
This commit is contained in:
parent
10b7b7f2c4
commit
0676dea789
2 changed files with 14 additions and 4 deletions
14
.github/workflows/conan-package-create.yml
vendored
14
.github/workflows/conan-package-create.yml
vendored
|
@ -7,6 +7,10 @@ on:
|
|||
required: true
|
||||
type: string
|
||||
|
||||
recipe_id_latest:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
runs_on:
|
||||
required: true
|
||||
type: string
|
||||
|
@ -118,6 +122,16 @@ jobs:
|
|||
if: ${{ inputs.create_from_source }}
|
||||
run: conan install . ${{ inputs.recipe_id_full }} --build=missing --update
|
||||
|
||||
- name: Remove the latest alias
|
||||
if: ${{ inputs.create_from_source && inputs.recipe_id_latest != '' && runner.os == 'Linux' }}
|
||||
run: |
|
||||
conan remove ${{ inputs.recipe_id_latest }} -r cura -f || true
|
||||
conan remove ${{ inputs.recipe_id_latest }} -r cura-ce -f || true
|
||||
|
||||
- name: Create the latest alias
|
||||
if: ${{ inputs.create_from_source && inputs.recipe_id_latest != '' && always() }}
|
||||
run: conan alias ${{ inputs.recipe_id_latest }} ${{ inputs.recipe_id_full }}
|
||||
|
||||
- name: Upload the Package(s)
|
||||
if: always()
|
||||
run: conan upload "*" -r cura --all -c
|
||||
|
|
4
.github/workflows/conan-recipe-export.yml
vendored
4
.github/workflows/conan-recipe-export.yml
vendored
|
@ -11,10 +11,6 @@ on:
|
|||
required: false
|
||||
type: string
|
||||
|
||||
recipe_id_pr:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
runs_on:
|
||||
required: true
|
||||
type: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue