conan-package.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. tags:
  25. - '[0-9].[0-9].[0-9]*'
  26. - '[0-9].[0-9].[0-9]'
  27. - '[0-9].[0-9][0-9].[0-9]*'
  28. env:
  29. CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }}
  30. CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }}
  31. jobs:
  32. conan-recipe-version:
  33. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main
  34. with:
  35. project_name: cura
  36. conan-package-export:
  37. needs: [ conan-recipe-version ]
  38. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-export.yml@main
  39. with:
  40. recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
  41. recipe_id_latest: ${{ needs.conan-recipe-version.outputs.recipe_id_latest }}
  42. secrets: inherit