mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 00:35:56 +08:00
allow creation from source
Contributes to CURA-9430
This commit is contained in:
parent
10b7b7f2c4
commit
0676dea789
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…
x
Reference in New Issue
Block a user