conan-package.yml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. name: conan-package
  2. on:
  3. push:
  4. paths:
  5. - 'plugins/**'
  6. - 'resources/**'
  7. - 'cura/**'
  8. - 'icons/**'
  9. - 'tests/**'
  10. - 'packaging/**'
  11. - '.github/workflows/conan-*.yml'
  12. - '.github/workflows/notify.yml'
  13. - '.github/workflows/requirements-runner.txt'
  14. - 'requirements*.txt'
  15. - 'conanfile.py'
  16. - 'conandata.yml'
  17. - '*.jinja'
  18. branches:
  19. - 'main'
  20. - 'CURA-*'
  21. - 'PP-*'
  22. - '[0-9].[0-9]*'
  23. - '[0-9].[0-9][0-9]*'
  24. env:
  25. CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }}
  26. CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }}
  27. jobs:
  28. conan-recipe-version:
  29. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main
  30. with:
  31. project_name: cura
  32. conan-package-export:
  33. needs: [ conan-recipe-version ]
  34. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-export.yml@main
  35. with:
  36. recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
  37. recipe_id_latest: ${{ needs.conan-recipe-version.outputs.recipe_id_latest }}
  38. secrets: inherit
  39. conan-package-create:
  40. needs: [ conan-recipe-version, conan-package-export ]
  41. uses: ultimaker/cura-workflows/.github/workflows/conan-package-create-linux.yml@main
  42. with:
  43. recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
  44. conan_extra_args: "-o cura:enable_i18n=True"
  45. secrets: inherit