Use common package creation workflow

This commit is contained in:
Erwan MATHIEU 2024-09-25 08:48:54 +02:00
parent d26c5b74a6
commit b526920e7c

View file

@ -32,28 +32,13 @@ on:
- '[0-9].[0-9]*' - '[0-9].[0-9]*'
- '[0-9].[0-9][0-9]*' - '[0-9].[0-9][0-9]*'
env:
CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }}
CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }}
jobs: jobs:
conan-recipe-version: # FIXME: Use main once merged
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main conan-package:
uses: ultimaker/cura-workflows/.github/workflows/conan-package.yml@CURA-11622_conan_v2
with: with:
project_name: cura project_name: cura
platform_windows: false
conan-package-export: platform_mac: false
needs: [ conan-recipe-version ]
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-export.yml@main
with:
recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
recipe_id_latest: ${{ needs.conan-recipe-version.outputs.recipe_id_latest }}
secrets: inherit
conan-package-create:
needs: [ conan-recipe-version, conan-package-export ]
uses: ultimaker/cura-workflows/.github/workflows/conan-package-create-linux.yml@main
with:
recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
conan_extra_args: "-o cura:enable_i18n=True" conan_extra_args: "-o cura:enable_i18n=True"
secrets: inherit secrets: inherit