mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 22:09:04 +08:00
Create Artifactory build info
This commit is contained in:
parent
b75e047348
commit
ce8a7b6109
12
.github/workflows/conan-package-create.yml
vendored
12
.github/workflows/conan-package-create.yml
vendored
@ -3,6 +3,10 @@ name: Create and Upload Conan package
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
project_name:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
recipe_id_full:
|
||||
required: true
|
||||
type: string
|
||||
@ -126,6 +130,9 @@ jobs:
|
||||
if: ${{ inputs.conan_config_branch == '' }}
|
||||
run: conan config install https://github.com/Ultimaker/conan-config.git
|
||||
|
||||
- name: Associate build information with the Conan package
|
||||
run: conan_build_info --v2 start ${{ inputs.project_name }} ${{ github.run_number }}
|
||||
|
||||
- name: Create the Packages
|
||||
if: ${{ !inputs.create_from_source }}
|
||||
run: conan install ${{ inputs.recipe_id_full }} --build=missing --update
|
||||
@ -151,3 +158,8 @@ jobs:
|
||||
- name: Upload the Package(s) community
|
||||
if: ${{ always() && inputs.conan_upload_community == true }}
|
||||
run: conan upload "*" -r cura-ce -c
|
||||
|
||||
- name: Create and Upload the build info
|
||||
run: |
|
||||
conan_build_info --v2 create buildinfo.json --lockfile conan.lock --user ${{ secrets.CONAN_USER }} --password ${{ secrets.CONAN_PASS }}
|
||||
conan_build_info --v2 publish buildinfo.json --url https://ultimaker.jfrog.io/artifactory --user ${{ secrets.CONAN_USER }} --password ${{ secrets.CONAN_PASS }}
|
||||
|
1
.github/workflows/conan-package.yml
vendored
1
.github/workflows/conan-package.yml
vendored
@ -81,6 +81,7 @@ jobs:
|
||||
|
||||
uses: ultimaker/cura/.github/workflows/conan-package-create.yml@main
|
||||
with:
|
||||
project_name: cura
|
||||
recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
|
||||
runs_on: 'ubuntu-20.04'
|
||||
python_version: '3.10.x'
|
||||
|
Loading…
x
Reference in New Issue
Block a user