mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-10-04 10:36:31 +08:00

A new dependency 'cura_resources' has been added to the conandata.yml. The handling of 'cura_resources' has been updated, now including specific sections for definitions, extruders, intent, meshes, quality and variants. GitHub Actions workflows and conan scripts have been adjusted accordingly to include these changes. Contribute to NP-186
60 lines
1.8 KiB
YAML
60 lines
1.8 KiB
YAML
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
|
|
|
|
# FIXME: point to main once merged
|
|
conan-package-export:
|
|
needs: [ conan-recipe-version ]
|
|
uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-export.yml@NP-186_seperate_cura_resources
|
|
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 |