Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj.spijker@ultimaker.com <jelle spijker>2022-11-03 10:42:24 +0300
committerjspijker <j.spijker@ultimaker.com>2022-11-03 10:42:24 +0300
commitc20410d7321f5d6bb95418a4aad3475f5f19decb (patch)
tree86b4edb22ac3b43aa764f6fb566f281991e13fe5
parent30555dbd5b31eea55f56d0109c7fa7bf8ec806ab (diff)
build info and create in one step
-rw-r--r--.github/workflows/conan-package-create.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/conan-package-create.yml b/.github/workflows/conan-package-create.yml
index 7d4cbe2f59..a3b769fdb3 100644
--- a/.github/workflows/conan-package-create.yml
+++ b/.github/workflows/conan-package-create.yml
@@ -134,14 +134,15 @@ 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 }}000${{ inputs.build_id }}
-
- name: Create the Packages
if: ${{ !inputs.create_from_source }}
run: |
+ conan_build_info --v2 start ${{ inputs.project_name }} ${{ github.run_number }}000${{ inputs.build_id }}
conan lock create --reference ${{ inputs.recipe_id_full }} --build=missing --update
conan install ${{ inputs.recipe_id_full }} --build=missing --update --lockfile=conan.lock
+ 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 }}
+ conan_build_info --v2 stop
- name: Create the Packages (from source)
if: ${{ inputs.create_from_source }}
@@ -164,9 +165,3 @@ 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 }}
- conan_build_info --v2 stop