Merge pull request #19422 from Patola/5.8 #3559
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: conan-package | |
on: | |
push: | |
paths: | |
- 'plugins/**' | |
- 'cura/**' | |
- 'resources/bundled_packages/**' | |
- 'resources/i18n/**' | |
- 'resources/qml/**' | |
- 'resources/setting_visibility/**' | |
- 'resources/shaders/**' | |
- 'resources/texts/**' | |
- 'resources/themes/**' | |
- 'resources/public_key.pem' | |
- 'resources/README_resources.txt' | |
- 'icons/**' | |
- 'tests/**' | |
- 'packaging/**' | |
- '.github/workflows/conan-package.yml' | |
- '.github/workflows/notify.yml' | |
- '.github/workflows/requirements-runner.txt' | |
- 'requirements*.txt' | |
- 'conanfile.py' | |
- 'conandata.yml' | |
- '*.jinja' | |
branches: | |
- 'main' | |
- 'CURA-*' | |
- 'PP-*' | |
- 'NP-*' | |
- '[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: | |
conan-recipe-version: | |
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main | |
with: | |
project_name: cura | |
conan-package-export: | |
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" | |
secrets: inherit |