conan-package-resources.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. name: conan-package-resources
  2. on:
  3. push:
  4. paths:
  5. - '.github/workflows/conan-package-resources.yml'
  6. - 'resources/definitions/**'
  7. - 'resources/extruders/**'
  8. - 'resources/images/**'
  9. - 'resources/intent/**'
  10. - 'resources/meshes/**'
  11. - 'resources/quality/**'
  12. - 'resources/variants/**'
  13. - 'resources/conanfile.py'
  14. branches:
  15. - 'main'
  16. - 'CURA-*'
  17. - 'PP-*'
  18. - 'NP-*'
  19. - '[0-9].[0-9]*'
  20. - '[0-9].[0-9][0-9]*'
  21. env:
  22. CONAN_LOGIN_USERNAME_CURA: ${{ secrets.CONAN_USER }}
  23. CONAN_PASSWORD_CURA: ${{ secrets.CONAN_PASS }}
  24. jobs:
  25. conan-recipe-version:
  26. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-version.yml@main
  27. with:
  28. project_name: cura_resources
  29. conan-package-export:
  30. needs: [ conan-recipe-version ]
  31. uses: ultimaker/cura-workflows/.github/workflows/conan-recipe-export.yml@main
  32. with:
  33. recipe_id_full: ${{ needs.conan-recipe-version.outputs.recipe_id_full }}
  34. recipe_id_latest: ${{ needs.conan-recipe-version.outputs.recipe_id_latest }}
  35. conan_recipe_root: "./resources/"
  36. secrets: inherit